Thoughts · Essay

When a line chart should not be a line chart

A line chart shows the beginning, the middle and the end at once. For a story, that can be exactly the problem.

In a data story for the World Bank, one section was about how something changed over time. The obvious choice is a line chart. It’s accurate, it’s familiar, and nobody needs an explanation to read it.

But a line chart gives everything away at a glance. Before you’ve read a word, you see where it starts, where it peaks and where it ends up. For analysis, that’s its strength. For a story, it gives away the ending before the story has started.

So I turned it into an animated bar chart. The bars change as time moves on, and you see the change in the order it happened: the build-up, the turn, the outcome. You don’t know what comes next until it comes. The data is the same; what changes is when you get to see it.

A line chart answers the question “what happened?” The animation lets you go through “what happens next?” That’s a different relationship with the same numbers, and in a story, it’s the one you want.

This isn’t a case against line charts. When people need to compare, look something up or see the whole pattern at once, the line chart is the better choice, and an animation would only get in the way. The chart type isn’t the point. The point is what the chart is for, and what the reader should go through, in what order.

← More thoughts