Use parameter-free ECDFs and Q-Q plots
Back to the Chart galleryxpd charts
What share of checks fall below 20 USD or above the 90th percentile without choosing arbitrary bin widths?
Plotly Express Tips dataset, 244 restaurant bills.
“Empirical cumulative distribution functions display all data points directly without arbitrary bin width or bandwidth parameters”
Also covered in Cleveland 1994 (3.3 Distributions, p. 143), Wilke 2019 (8 Visualizing Distributions: Empirical Cumulative Distribution Functions and Q-Q Plots, p. 72).
Before
Interactive chart unavailable.
After
Interactive chart unavailable.
Values
Most checks land in the 11 to 22 USD bin, with exact quantiles unreadable from the coarse bars.
Half of all checks fall below 17.80 USD and 90% fall below 32.23 USD.
| Percentile | Bill (USD) |
|---|---|
| 10th | 10.34 |
| 25th | 13.35 |
| 50th (median) | 17.8 |
| 75th | 24.13 |
| 90th | 32.24 |