Frame probabilities as discrete frequencies
Back to the Chart galleryxpd charts
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”
Before
Interactive chart unavailable.
After
Interactive chart unavailable.
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).
| Quantile index (1 to 20) | Representative bill (USD) |
|---|---|
| 1 | 7.79 |
| 2 | 10.07 |
| 3 | 10.86 |
| 4 | 12.21 |
| 5 | 13 |
| 6 | 13.76 |
| 7 | 14.83 |
| 8 | 15.83 |
| 9 | 16.44 |
| 10 | 17.3 |
| 11 | 18.1 |
| 12 | 19 |
| 13 | 20.43 |
| 14 | 21.5 |
| 15 | 23.2 |
| 16 | 25.07 |
| 17 | 27.19 |
| 18 | 30.11 |
| 19 | 34.65 |
| 20 | 42.97 |