Skip to content

Choose readable histogram bins

baddistributionsjudgmentCleveland 1994 p. 135Wilke 2019 p. 60Wilke 2019 p. 60Few 2012 p. 18Few 2012 p. 104Few 2012 p. 118Munzner 2014 p. 306Munzner 2014 p. 306Miller 2013 p. 119Miller 2013 p. 120

Where are fill volumes most concentrated?

Illustrative fill volumes from 20 bottles on a production line.

“It should be remembered that a histogram reduces the information in the”

William S. Cleveland, "The Elements of Graphing Data", revised edition, p. 135.

Also covered in Wilke 2019 (7 Visualizing Distributions: Histograms and Density Plots, p. 60), Wilke 2019 (7 Visualizing Distributions: Histograms and Density Plots, p. 60), Few 2012 (2 SIMPLE STATISTICS TO GET YOU STARTED, p. 18), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 104), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 118), Munzner 2014 (13 Reduce Items and Attributes, p. 306), Munzner 2014 (13 Reduce Items and Attributes, p. 306), Miller 2013 (6 Creating Effective Charts, p. 119), Miller 2013 (6 Creating Effective Charts, p. 120).

CVD preview

Before

Narrow bins leave many empty intervals, and gaps between neighboring bars make the distribution look more fragmented.

Download before Python code

After

Five adjoining 16 mL bins show the concentration near 500 mL.

Download after Python code

Values

The 20 bottles are split among twenty 4 mL bins with at most two bottles per bin.

Six bottles fall from 492 to under 508 mL and five fall from 476 to under 492 mL.

Values used in both charts
BottleFill volume (mL)
1467
2472
3479
4481
5484
6488
7491
8494
9497
10499
11502
12504
13506
14509
15512
16515
17520
18526
19531
20537