Home icon
Data Visualisation Guide

Bar size and spacing

2 minutes read

A deep dive into bar charts

The goal of making a bar chart is to allow readers to compare numerical values. So the numerical axis, which scales the length of the bars, should be given enough space to show the values. Sometimes the aspect ratio of a bar chart (how wide it is versus how high) and the space reserved for the bar labels can lead to a very short numerical axis that doesn’t really allow to make comparisons between values.

A horizontal bar chart with long labels, causing the bars all to be compressed in the horizontal direction

Compressed bars. Source: Maarten Lambrechts, CC BY SA 4.0

The width of the bars is of lesser importance, because it does not encode data. But a good balance between the width of the bars and the spacing between improves the aesthetics of a bar chart.

A horizontal bar with very thick bars

Thick bars. Source: Maarten Lambrechts, CC BY SA 4.0

A horizontal bar chart with very thin bars

Narrow bars. Source: Maarten Lambrechts, CC BY SA 4.0

A horizontal bar chart of which the bars have an intermediate and balanced thickness

Balanced bars. Source: Maarten Lambrechts, CC BY SA 4.0

Related pages

Grids versus data labels in bar charts

Bar label placement

Starting bars at zero

Data dense scatter plots

Binned scatter plots

Data dense time series

A deep dive into bar charts