The whole population is a square
The area of the square is 1, that is everyone. The area of each region will be the probability that a randomly chosen person falls into it.
The sick and the healthy
A share of 0.10 of people are sick. The square splits at this ratio: the sick on the left, the healthy on the right.
The test on the sick
The test catches 0.90 of the sick. The red area is the true positives: p · sensitivity = 0.09.
The test on the healthy
The test also wrongly says positive to 0.10 of the healthy. The blue area is the false positives: 0.09.
Those who test positive
Someone who tests positive is in either the red or the blue area. From now on we only look at these two areas.
Is someone who tests positive really sick
The probability is the red area over the sum of both areas: 0.09 / (0.09 + 0.09) = 0.50.
Why it matters
When evidence arrives, belief is updated. The Naive Bayes classifier updates the probability that an email is spam with exactly this rule as it sees each word.