Use a bar chart when the task is to compare nearby graphical elements
For nearby magnitude comparison on aligned values, use a bar chart instead of a line chart to improve readability and mitigate misreading of local differences for readers interpreting standard charts.
- purpose:select
- basis:empirical
- task:compare
- chart:bar:use
- chart:line:avoid
- quality:readability:use
- lever:chart-family
advice
Choose the chart family for local comparison
Use a bar chart when readers need to compare nearby magnitudes directly. For example, replace a line chart with a bar chart when the main job is judging which adjacent value is larger rather than tracing an x–y relationship.
reason
Match the chart to the comparison task
A bar chart turns nearby values into separate aligned elements that are easier to compare directly. That supports local comparison better than following a connected path.
Mechanism: Separate bars support direct comparison of nearby graphical elements.
Evidence: Bar graphs ease comparison of graphical elements in close proximity, while line graphs better support extraction of x–y relationships (Börner et al., 2019).
context
Use when the main question is about nearby differences
- User Goal: Compare adjacent or nearby values directly.
- Task: Judge local magnitude differences.
- Data: Values that can be shown as separate aligned graphical elements.
- Chart Setting: You are deciding between a bar chart and a line chart for the same data.
- Audience: Readers interpreting a standard chart.
- Success Criterion: Readers can correctly compare nearby values.
exceptions
Do not use when the main task is reading the x–y relationship
Break it when: The main task is extracting the relationship between x and y. Why: Line graphs better support that relationship-reading task.
costs
Accept the tradeoff in relationship reading
Sacrifice: Ease of tracing the overall x–y relationship. Risk: Readers may focus on isolated bars when the real question is about the relationship across x-values. Mitigation: Use the bar chart only when nearby comparison is the primary readout.
mistakes
Avoid the wrong chart family for the task
Mistake: Keeping a line chart when the intended readout is a direct nearby comparison. Why it fails: Readers must infer local differences from a connected path instead of comparing aligned elements directly.
check
Test the task against both chart families
Failure Sign: Reviewers can describe the overall path but hesitate on which nearby value is larger. Quick Check: Make a bar version and a line version of the same data, then ask which one more directly answers a nearby-comparison question. Stronger Test: Ask a reviewer to compare adjacent values from both versions; keep the bar chart if the local comparison is easier.
fix
Replace the chart family, not the comparison question
- Replace the line chart with a bar chart for the same values.
- Keep the comparison categories or x-positions aligned so nearby values stay close.
- If reviewers instead need the x–y relationship, switch back to a line chart.