Guidelines
Suggest edit

Use a line chart when the total is not part of the message

For showing multiple values over ordered time, prefer a line chart on temporal series instead of an area chart to improve readability and mitigate unnecessary emphasis on the stacked total for readers who mainly need the series trends.

  • purpose:select
  • basis:heuristic
  • task:trend
  • time:ordered-time
  • chart:line:use
  • chart:area:avoid
  • quality:readability:use
  • lever:chart-family

advice

Switch to a line chart

Use a line chart instead of an area chart when the total is not important. For example, keep changing shares as separate lines when readers need the trajectories over time but not the combined stacked height.

reason

Why the line chart is easier here

A filled stacked shape adds a total cue that readers must parse even when the total is not part of the story. Removing the fill lets readers focus on the series themselves.

Mechanism: The line chart removes unnecessary part-to-whole emphasis, so readers can read the changing values without also interpreting the stacked total.

Evidence: The source says area charts work best when the total is as important as its shares, and that many readers will have an easier time understanding a line chart when the total is not important (Muth, 2018).

context

Use when the total is secondary

  • User Goal: Show how several values change over time.
  • Task: Follow the trajectories of the series, not the combined total.
  • Data: Multiple temporal values that could be drawn as a stacked area chart.
  • Chart Setting: A draft area chart is being considered for a time series.
  • Audience: Readers who should understand the chart quickly.
  • Success Criterion: Readers can read the change in each series without needing the stacked height.

exceptions

Do not use when the total matters too

Break it when: The total is as important as the shares, or each date adds up to 100%. Why: The stacked height then carries part of the message, and an area chart can be an intuitive way to show the whole and its parts together.

costs

What you give up

Sacrifice: You give up the immediate display of the total as the height of the stack. Risk: The part-to-whole relationship becomes less prominent. Mitigation: Keep the area chart when the whole matters as much as the parts.

mistakes

Common failure mode

Mistake: Keeping a filled area chart even though the message does not use the total. Why it fails: The fill adds a visual cue that readers must process even though it does not answer the main question.

check

How to test the choice

Failure Sign: The story still works if the fill is removed and only the series lines remain. Quick Check: Make a line-chart version and compare it with the area-chart version; if both say the same thing and the total is not needed, keep the line chart. Stronger Test: Ask whether the stacked height must be read at all; if not, reject the area chart.

fix

What to change

  • Remove the area fill and keep the series as lines.
  • Recheck whether the total is still part of the intended message.
  • If the whole and its shares are both important, switch back to an area chart.

References

Muth, L. C. (2018). What to consider when creating area charts. https://www.datawrapper.de/blog/area-charts