Study Meadow

Note 17

Reading charts

Just look at the chart. It speaks for itself.

Charts do not speak for themselves. Someone chose the scale, the start date, the shape and the thing being measured. Those choices are usually sensible, and sometimes they do all the work. A chart is an argument with its working hidden, so reading one is mostly a matter of finding the working.

Start at the edges

Before you look at the shape, read the words. It takes fifteen seconds and catches most trouble: what is on each axis, in what units, starting where, over what period, from what source. A surprising number of misleading charts become harmless the moment you read the small labels. A surprising number have no labels at all, which is informative too.

The truncated axis

Here are four invented annual values: 50.2, 50.9, 51.3, 51.8. The rise over the period is about 3 percent.

The same four numbers on two axes, illustrativeLeft: bars starting at 50 make the last value look several times the first. Right: bars starting at 0 look nearly level.Starts at 50Yr 1Yr 2Yr 3Yr 4Axis starts at 50Starts at 0Yr 1Yr 2Yr 3Yr 4Axis starts at 0
Illustrative. The same four numbers. The left chart begins its axis at 50 and the right chart at 0.

In the left version the last bar is nine times as tall as the first. Edward Tufte, in The Visual Display of Quantitative Information, proposed a measure for this called the lie factor: the size of the effect shown in the graphic, divided by the size of the effect in the data.

Bars encode size by their length, so a bar chart should start at zero. Good exceptions are very hard to find. Lines are different. A line chart encodes change by its slope and position. If you are charting body temperature, or a country’s annual average temperature, or a mortgage rate, a zero baseline would squash all the meaningful variation into a flat line. It is fine for a line chart to zoom in, and it is sometimes dishonest not to. A chart of global average temperature on an axis running from zero to over 100 degrees Fahrenheit is a flat line that tells you nothing, and charts like it have been published for that very reason.

So the question to ask is whether the chart’s scale fits the size of change that matters. Would a 3 percent change be big, in this subject? A 3 percent change in the height of a person is not. A 3 percent fall in a country’s output is a severe recession.

Two axes, one illusion

A dual-axis chart plots two quantities with different scales on the left and the right. Any two rising lines can be drawn so they appear to track each other, and any two can be made to cross wherever you like, because the designer can stretch each axis freely. The apparent correlation is partly a choice of two arbitrary scale ranges. If you meet one, imagine one axis slid up or doubled. If the story disappears, it was the axes’ story. The fair alternatives are two separate panels, or an index that sets both series to 100 at the same starting date.

Areas, circles and pictures

Humans judge length quite well and area poorly. If a designer draws a coin to show that spending doubled and doubles its width and height, its area has gone up four times. Three-dimensional bars and pie charts are worse: the front slice looks larger because of perspective. Plain bars and dots are less exciting, and more accurate.

Scale can mislead in a different way with maps. A map of a large country coloured by total anything will mostly show where people live. Rates per person are usually what you want, and even those can be unstable in thinly populated areas, as the note on large numbers explains. Large, empty regions take up a lot of ink and hold few people.

Choosing the window

Any wiggly series can be made to go up or down. Start at a peak and it has fallen. Start at a trough and it has risen. A chart of share prices, crime or temperature that begins at an odd date deserves a question: what happens if you start five years earlier?

Related devices:

Anscombe’s quartet

Now for the best argument ever made for drawing your data. In 1973 the statistician Francis Anscombe published four small data sets in The American Statistician. Each has 11 pairs of numbers.

The summary statistics of all four sets, to two decimal places.
StatisticIIIIIIIV
Mean of x9.009.009.009.00
Mean of y7.507.507.507.50
Variance of x11.0011.0011.0011.00
Variance of y4.134.134.124.12
Correlation0.820.820.820.82
Best-fit liney = 3 + 0.5xy = 3 + 0.5xy = 3 + 0.5xy = 3 + 0.5x

If all you had was that table, you would say these are the same data. Here they are drawn.

Anscombe’s quartetFour scatter plots with the same fitted line. Set I is a loose straight cloud, II is a smooth curve, III is a tight line with one outlier, IV is a vertical stack with one far point.IIIIIIIV
Anscombe’s 1973 data. The dashed line is the same fitted line in every panel.

Set I is what you imagined. Set II is a clean curve, for which a straight line is the wrong model. Set III is a perfect line with one point knocked out, and that point has tilted the fit. Set IV has no relationship at all: ten points share an x value, and one lonely point on the right creates the entire correlation.

Anscombe’s point was aimed at those who thought computers and summary statistics had made pictures unnecessary. Everything on the mean, the spread and correlation in these notes comes with this asterisk: a summary throws away information, and you do not know what it threw away until you look. In 2017 Justin Matejka and George Fitzmaurice extended the joke with the Datasaurus Dozen, a family of data sets with matching statistics, one of which is a drawing of a dinosaur.

Which chart for what

The designer’s choices are not all traps. A sensible chart matches the job.

JobUsually goodUsually bad
Compare a few amountsBars from zero3D bars, pie with many slices
Show change over timeLineBars with a broken axis
Show parts of a wholeStacked bar, a small pieDonuts with ten slices
Show a relationshipScatter plotTwo lines on two axes
Show a distributionHistogram, dot plot, box plotA single average

The fifteen-second check

Goes with: Spread, range and standard deviation, Correlation and causation.