Skip to content

Prefer solid muted fills over hollow line drawings

uglycolor and encodingjudgmentWilke 2019 p. 298Munzner 2014 p. 151

Which continents separate cleanly at a glance without hollow wireframe visual noise?

Plotly Express Gapminder dataset, 2007 mean country life expectancy across five continents.

“Avoid line drawings for bars, histograms, and areas because solid muted fills separate figure from ground far more cleanly”

Claus O. Wilke, "Fundamentals of Data Visualization", p. 297.

Also covered in Wilke 2019 (25 Avoid Line Drawings, p. 298), Munzner 2014 (7 Arrange Tables, p. 151).

CVD preview

Before

Hollow wireframe bar outlines create distracting parallel edge lines and fail to separate the bars visually from the white background.

Download before Python code

After

Solid muted blue fills anchor every bar against the clean canvas while direct labels remove the need to trace down to axis ticks.

Download after Python code

Values

Mean life expectancy spans from 54.8 years in Africa to 80.7 years in Oceania.

Oceania (80.7) and Europe (77.6) lead, followed by the Americas (73.6), Asia (70.7), and Africa (54.8).

Values used in both charts
ContinentMean life expectancy in 2007 (years)
Oceania80.7
Europe77.6
Americas73.6
Asia70.7
Africa54.8