Find a course

Module 2: Choosing the Right ChartLesson 3 of 1112 min

Bar Charts for Comparisons and Rankings

Use bar charts and dot plots to compare categories: start bars at zero, sort by value, choose horizontal or vertical, and group or stack with care.

Step 1 of 11Learn

The workhorse chart

If you learn only one chart well, make it the bar chart. It answers the most common question in business, "how do these categories compare?", and it uses length from a common baseline, one of the most accurately judged encodings.

A bar chart shows one bar per category, with the bar's length proportional to its value. That simple rule carries an important consequence: bars must start at zero. Readers compare the lengths, not just the tops. If the axis starts at 90 instead of 0, a bar for 95 looks twice as long as one for 92.5, even though the real difference is under 3%. You'll explore this in Module 4.

Bar charts work for:

  • Comparing values across categories: sales by region, headcount by department.
  • Ranking: which products are top sellers.
  • Comparing a few time periods, such as four quarters, often drawn as vertical columns.
  • Showing counts of categorical data, such as survey responses per option.

They're less suitable for long continuous time series (use a line), for distributions of a numeric variable (use a histogram, which looks similar but has touching bars over numeric ranges), and when values are all far from zero and the small differences are what matter (consider a dot plot).

A sorted horizontal bar chart: five regions ordered from largest to smallest value, with the top bar highlightedWestNorthEastSouthCentral

Step 2 of 11Practice · True or false

It is acceptable to start the value axis of a bar chart at 80 instead of 0 if all the values are between 85 and 100.

Step 3 of 11Learn

Sort, orient and label

Three quick decisions turn an average bar chart into a clear one.

Sort by value unless the categories have a natural order. Bars sorted from largest to smallest let the reader see the ranking instantly and compare neighbors. Alphabetical order is almost never what the reader needs; it's just what the software produced. Keep natural orders, though: months stay in calendar order, age groups in age order, and survey scales from negative to positive.

Choose orientation by label length. Vertical columns work for a few short labels and for time periods, which people expect to run left to right. Horizontal bars are better for many categories or long names, such as product names or survey questions. They let labels sit level and readable instead of tilted at 45 degrees, which is slow and annoying to read.

Label smartly. With few bars, put the value at the end of each bar and drop the axis entirely. With many bars, keep a light axis with a few gridlines. Use readable number formats: "$1.2M" instead of "1,200,000.00."

Mind the width. Bars should usually be wider than the gaps between them. Very thin bars with wide gaps look like a barcode; bars with no gaps look like a histogram, which suggests a continuous numeric axis.

Step 4 of 11Practice · Chart

Quarterly sales by region, sorted

Tap the region ranked third.

Tap the bar that answers the question, then press Check.

Quarterly sales by region, sortedBar chart with 5 categories: West: $420; South: $380; North: $290; East: $250; Central: $180.$0$100$200$300$400$500West$420South$380North$290East$250Central$180Sales ($ thousands)
Illustrative data. Sorted largest to smallest, horizontal for readable labels.
Quarterly sales by region, sorted
Sales ($ thousands)Sales
West$420
South$380
North$290
East$250
Central$180

Step 5 of 11Practice · Choose one

You need to show customer satisfaction scores for 18 products with long names such as "Premium Wireless Noise-Canceling Headphones". What is the best layout?

Step 6 of 11Learn

Grouped and stacked bars

When you have two categorical variables, such as sales by region and by year, you have two main options.

Grouped (clustered) bars place bars for each subgroup side by side within each category: for each region, a bar for 2025 and a bar for 2026. Because every bar starts at zero, readers can compare any bar with any other accurately. Grouped bars are best when the comparison within each group matters, and they work well for up to about three or four subgroups. Beyond that, the chart turns into a dense picket fence.

Stacked bars put the subgroups on top of each other, so each bar shows a total divided into segments. The total is easy to compare, and so is the bottom segment, which sits on the zero baseline. But the middle and top segments float at different heights in each bar, so comparing them is hard. Use stacked bars when the total and maybe one key component matter most.

100% stacked bars stretch every bar to the same length and show shares instead of amounts, answering "what proportion of each region's sales came from online?" They hide the totals completely, so add them as labels if they matter.

If neither works well, consider small multiples: one simple bar chart per subgroup, all with the same scale, arranged in a row or grid.

Step 7 of 11Practice · Chart

Stacked bars: totals are easy, segments are not

Tap the region with the largest two-year total.

Tap the bar that answers the question, then press Check.

Stacked bars: totals are easy, segments are notStacked bar chart with 4 categories: West: 2025 $190, 2026 $230; South: 2025 $200, 2026 $180; North: 2025 $140, 2026 $150; East: 2025 $120, 2026 $130.$0$100$200$300$400$500Sales ($ thousands)WestSouthNorthEast$420$380$290$250
Illustrative data. Try comparing the 2026 segments: they start at different heights, which is why grouped bars suit subgroup comparisons.
Stacked bars: totals are easy, segments are not
Item20252026
West$190$230
South$200$180
North$140$150
East$120$130

Step 8 of 11Practice · Sort into groups

Which bar layout fits each goal best?

Tap an item, then tap its group (or drag it there).

Step 9 of 11Note

Step 10 of 11Learn

Common bar chart mistakes

A short checklist catches most bar chart problems.

  • Truncated axis. Bars that don't start at zero exaggerate differences. Fix: start at zero, or switch to a dot plot.
  • Unsorted categories. Alphabetical or random order hides the ranking. Fix: sort by value unless a natural order exists.
  • Too many categories. Forty bars are hard to scan. Fix: show the top 10 and group the rest as "Other," or use a table with a small bar inside each row.
  • Rainbow colors. Coloring every bar differently suggests the colors mean something and makes the chart noisy. Fix: one neutral color, plus a highlight color for the bar you want to discuss.
  • 3D bars. Perspective distorts lengths and makes it unclear where the top of each bar is. Fix: always use flat bars.
  • Tilted or tiny labels. Fix: horizontal bars, shorter labels, or larger fonts.
  • Mixed units. Bars for revenue in dollars next to bars for profit margin in percent don't belong on one axis. Fix: separate charts.

Run through the list before you share any bar chart. It takes thirty seconds and prevents the most common complaints from readers.

Step 11 of 11Practice · Select all that apply

A colleague's bar chart shows sales for 12 sales reps. Which changes would improve it? Select all that apply.

Select all that apply.