A bar chart uses the size of each bar to show a quantity. It is especially useful when the quantities belong to distinct categories: each category gets its own bar, making comparisons straightforward. section 2.1.2 section 3.4.1
When the bars tell the story
Plot weekday bicycle rentals by hour as horizontal bars, and the morning surge becomes easy to spot. The evening decline is more gradual. Aligned numbers contain the same information, but bars make the pattern easier to see. section 2.1.2
Figure 2.4 Horizontal bar graph showing the total number of weekday (not including Saturday and Sunday) rentals by hour of the day
The horizontal bars show how rental totals change across hours of the weekday. section 2.1.2
Choose bars when the dimension—the thing distinguishing one quantity from another—is discrete, such as fruit type. A line joining fruit types suggests a continuity they do not have. Lines are better suited to continuous dimensions, such as a measure tracked over time. Dates and times can be treated differently depending on the scale of the question, so decide what the positions on your axis mean before choosing a chart. section 3.4.1 section 3.6
Figure 3.1 The fruit data shown as a line on the left just doesn’t work because the fruits aren’t continuous, nor could one approximate them as such. On the right, the viz works much better as a bar chart.
Compare fruit types joined by a line with the same discrete categories shown as bars. section 3.4.1
Keep the choice practical:
- Use bar size to carry the quantity rather than relying on color alone; a linear scale makes that size comparison particularly effective. section 2.1.2
- Use bars in an interactive dashboard when people need to compare categories under different selections or breakdowns. section 7.2.2
- Do not fill a dashboard with bars just because they are familiar. Sketch or wireframe competing layouts: too many bar graphs can make the result crowded. section 8.3.3








