Comparing Categories: Bar and Column Charts
The bar chart and its vertical twin the column chart are the most versatile and commonly used chart types in data visualization β and for good reason. They leverage one of the most precise visual encodings available: position on a common scale. When all bars share the same baseline (zero), comparing their heights or lengths is an accurate and intuitive visual task. The bar/column chart is the right choice whenever you are comparing discrete quantities across categories.
Bar charts (horizontal) are particularly effective when category names are long (they can be read left to right rather than rotated), when there are many categories (human visual system processes horizontal scanning more naturally than vertical for long lists), and when the category names themselves are part of the story being told. Column charts (vertical) are more natural for showing temporal sequences where categories have an inherent left-to-right time order β the temporal association with left-to-right is culturally deeply ingrained.
Grouped bar charts compare multiple data series across the same categories simultaneously. They are powerful but require careful design: the visual complexity increases with each additional group, and more than three to four groups typically produces a chart that is difficult to read. Stacked bar charts show both the individual component values and the total, but they sacrifice the ability to precisely compare component values in middle stacks (which don't share a common baseline) in exchange for showing total magnitude. Choosing between grouped and stacked depends on whether the comparison of interest is between groups (use grouped) or between totals and their composition (use stacked).
The most common bar/column chart error is not starting the y-axis at zero. When a bar chart's y-axis starts above zero, the visual impression of relative difference is dramatically exaggerated. A 5% difference between two bars that each represent approximately 95% of some total looks tiny when the axis runs from 0 to 100, but it looks enormous when the axis is cropped to run from 93 to 98. Journalists and politicians frequently exploit this truncation to make small differences look dramatic. The rule for bar charts is strict: the y-axis must start at zero, because the entire visual encoding relies on bar length being proportional to value.