Skip to content

Use sorted Cleveland dot plots for narrow non-zero ranges

badamountsjudgmentCleveland 1994 p. 150Wilke 2019 p. 54Few 2012 p. 135Few 2012 p. 106Few 2012 p. 107

How closely do the top 12 European countries cluster in life expectancy?

Plotly Express Gapminder dataset, top 12 European countries by life expectancy in 2007.

“A dot plot encodes values by position along a common scale without needing to include zero when all observations lie in a narrow band”

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

Also covered in Wilke 2019 (6 Visualizing Amounts, p. 54), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 135), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 106), Few 2012 (6 FUNDAMENTAL VARIATIONS OF GRAPHS, p. 107).

CVD preview

Before

Twelve full-length bars anchored at zero waste over 90% of the chart width on shared baseline ink and make Iceland (81.8) look almost identical to the Netherlands (79.8).

Download before Python code

After

A sorted Cleveland dot plot with subtle dotted guide lines focuses the full width on the 78.8 to 82.6 year span without breaking bar-length rules.

Download after Python code

Values

All 12 countries sit between 79.4 and 81.8 years.

Iceland (81.8) and Switzerland (81.7) lead a tight cluster two full years ahead of Austria and the Netherlands (79.8).

Values used in both charts
CountryLife expectancy in 2007 (years)
Iceland81.76
Switzerland81.7
Spain80.94
Sweden80.88
France80.66
Italy80.55
Norway80.2
Austria79.83
Netherlands79.76
Greece79.48
Belgium79.44
United Kingdom79.42