Skip to content

Frame probabilities as discrete frequencies

baduncertaintyjudgmentWilke 2019 p. 184

How likely is a restaurant check to reach 30 USD or more?

Plotly Express Tips dataset, 20 equal-probability quantiles of 244 restaurant bills.

“Discretizing a probability distribution into countable outcomes lets readers judge tail risk by counting dots”

Claus O. Wilke, "Fundamentals of Data Visualization", p. 184.
CVD preview

Before

A continuous probability density curve requires readers to integrate shaded tail area visually past the 30 USD line.

Download before Python code

After

Twenty countable quantile dots turn tail probability into frequency framing where each orange dot equals 5% of checks.

Download after Python code

Values

Bills peak near 16 USD and extend past 45 USD, with an unlabelled tail beyond 30 USD.

Three of the 20 quantile dots fall at or above 30 USD (15% of checks).

Values used in both charts
Quantile index (1 to 20)Representative bill (USD)
17.79
210.07
310.86
412.21
513
613.76
714.83
815.83
916.44
1017.3
1118.1
1219
1320.43
1421.5
1523.2
1625.07
1727.19
1830.11
1934.65
2042.97