Guidelines
Suggest edit

Keep compared bars adjacent in simple bar charts

For exact comparison tasks, prefer adjacent placement of compared bars on simple bar charts to improve fidelity and mitigate separation errors for viewers making quick visual estimates.

  • purpose:refine
  • basis:empirical
  • task:compare
  • chart:bar
  • quality:fidelity:use
  • lever:layout-structure
  • operator:difference
  • reading-mode:exact

advice

Adjacent target bars

Place bars that readers must compare next to each other. For example, keep the target bars adjacent instead of separating them with intervening categories when the task is to judge one bar as a percentage of another.

reason

Why adjacency works

Distance itself makes bar-height comparison harder because readers must carry one height across space before matching it to the other bar. The penalty is larger when the reference bar is short.

Mechanism: Adjacent bars reduce the spatial carry needed for an exact height judgment, so readers make fewer separation-driven errors.

Evidence: Separated bar comparisons produced higher absolute error than adjacent comparisons, and most of that penalty came from the separation itself rather than from intervening distractors; the collated review records this paper as follow-up evidence on bar-chart comparison accuracy (Talbot et al., 2014; Zeng & Battle, 2023).

Notes: The separation penalty grew when the reference bar was short.

context

When to use adjacency

  • User Goal: Compare two category values exactly.
  • Task: Judge one bar relative to another, such as a ratio or percentage estimate.
  • Data: One quantitative value per category.
  • Chart Setting: A simple bar chart with separate bars rather than stacked segments.
  • Audience: Viewers making unaided visual estimates.
  • Success Criterion: Lower absolute comparison error.

exceptions

When not to use adjacency

Break it when: The compared values are segments inside the same stacked bar rather than separate bars. Why: In that setting, immediate adjacency increased part-to-whole bias, and adding separation helped.

costs

Tradeoffs of adjacency

Sacrifice: Freedom to leave the compared categories far apart in the displayed order.
Risk: If the compared bars must remain separated, exact judgments become less reliable, especially for short bars.
Mitigation: Apply adjacency to the pair that must be read most precisely.

mistakes

Common spacing mistake

Mistake: Leaving a large gap between the two target bars because the distractors seem unimportant. Why it fails: Separation alone accounted for most of the added error.

check

Check bar proximity

Failure Sign: Readers hesitate or disagree when comparing two distant bars, especially when one bar is short.
Quick Check: Redraw the same pair so the target bars are adjacent and see whether the comparison reads more cleanly.
Stronger Test: Run a small A/B estimate task on adjacent versus separated versions and compare absolute error.

fix

Fix bar separation

  • Move the compared bars next to each other.
  • Reorder the categories when that comparison is the main task.
  • Treat separated short bars as a high-risk layout and regroup the pair before publication.

References

Talbot, J., Setlur, V., & Anand, A. (2014). Four Experiments on the Perception of Bar Charts. IEEE Transactions on Visualization and Computer Graphics, 20(12), 2152–2160. https://doi.org/10.1109/TVCG.2014.2346320
Zeng, Z., & Battle, L. (2023). A Review and Collation of Graphical Perception Knowledge for Visualization Recommendation. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 1–16. https://doi.org/10.1145/3544548.3581349