When to use a bar chart
Nick Desbarats
Independent instructor and best-selling author, data visualization and information dashboard design | LinkedIn Top Data Visualization Voice | Workshop info, email list, etc. at practicalreporting.com
When should you use a bar chart instead of another chart type? Easy question, right? After all, bar charts might just be the simplest (and most common) chart type on the planet.
If you look to the many chart-type-chooser diagrams and chart type catalogs floating around online, you’ll typically see guidelines like…
“Use a bar chart when you need to feature a comparison relationship.”
This sounds reasonable, but the minute you put two or more values in a chart, you’re automatically featuring a comparison relationship, e.g., a comparison of values from different time periods, a comparison of the parts of a total, a comparison of values in different parts of a distribution, etc. Basically, all charts feature comparison relationships of one type or another, so, if you follow this guideline, all of your charts would be bar charts.
…or…
“Use a bar chart when you need to compare categories with one another.”
This also sounds reasonable until you realize that most chart types compare categories with one another, including line charts, heatmaps, pie charts, choropleth maps, arrow charts, scatterplots, and many, many others. If you follow this guideline, then, once again, most of your charts would be bar charts.
Clearly, all of your charts shouldn’t be bar charts, so what’s going on here? Well, bar charts are actually unique among chart types because they’re the only chart type that can show virtually any kind of data:
Because bar charts could be used to show any kind of data, does that mean that all charts should be bar charts? Well, no, as you can probably guess, there are good reasons to use other chart types in many situations, for example…
领英推荐
…and I could show dozens more examples of situations in which the choice between using a bar chart and another chart type depends on the specific purpose of the chart, the number of values to be shown, and a variety of other factors.
For example, the decision tree below from my Practical Charts course provides guidance on when to use a bar chart instead of another breakdown-of-total chart type such as a pie chart, waterfall chart, stacked bar chart, Pareto chart, or treemap. (Note that this decision tree isn’t intended to be self-explanatory; I’m just showing it here to illustrate that this kind of decision-making isn’t as simple as many people think it is.)
…and there are seven other, similar decision trees in the Practical Charts course for choosing a chart type to show data over time, distributions of values, values with locations, etc.
As it turns out, then, choosing when to use a bar chart or another chart type is surprisingly complex. In fact, I’d argue that, in a way, bar charts are actually the most complex chart type, because in order to know when to use a bar chart, you have to know when to use virtually every other chart type.
Weird, right?
By the way...
If you’re interested in taking my Practical Charts course to learn when to use bar charts and 50 other common chart types, here’s a list of my upcoming open-registration workshops .
To be notified of articles like this in the future, consider subscribing to my email list (one to three emails per month to level up your data visualization and dashboard design chops).
Executive Director | People Analytics | Scientist of Data & Decisions | Top 25 Healthcare Innovator | Pragmatic Humanist | Creator
6 个月So about the pie chart: why not a bar chart of "% of total" if that is the critical story? Don't mind me! Stirring up the pie chart debate just seems like free post engagement ??
Tableau Developer | Data Visualization Specialist
6 个月Very insightful as always, Nick! Thanks for sharing
Supply Chain and Financial Analytics | Microsoft Certified PL-300
6 个月I see you don't really make distinction between column and bar chart (it is just reversing the axis). But too many bars and labels on column is really no-go.
??I help you create intuitive dashboards | Data Visualization Consultant
6 个月Great write up. For me it starts getting tricky once you have more than two groups of data and >2variables you want to compare. For example you illustrated how a scatter plot is the best solution when you want to visualize more complex relationships. I often face the issue that three or more variables need to be visualized for a group of data. You can go from scatter to bubble (which I really don’t like) and that’s where it stops. How would you tackle this?