Skip to the content
Chartsmade

Stacked vs clustered bar chart: which should you use?

Use a clustered bar chart to compare the parts with each other, and a stacked bar chart to show how the parts add up to a total. If readers need both, pick the one that answers the main question and show the other figures in a table or a second chart.

Updated · 5 min read

The short answer: parts or total?

Decide what the reader should take away. If it is "which product sold most in each quarter", draw clustered bars. If it is "how big was each quarter overall", draw stacked bars.

Microsoft's guide to Office chart types draws the same line. A clustered chart compares values across categories. A stacked chart is for when you want to emphasise the total. In Excel and the other Office apps the types are called Clustered Column, Stacked Column and 100% Stacked Column, with matching Clustered Bar, Stacked Bar and 100% Stacked Bar versions.

If you keep reaching for new colours and labels to rescue a chart, check the chart type first. It may be answering a different question from yours.

What a clustered bar chart is good at

A clustered (or grouped) bar chart draws the series side by side within each category. Every bar starts from the same baseline, so readers compare them by length, which is easy to judge.

That makes it the right pick when the size of each part matters. The FT Visual Vocabulary lists it as the paired bar and paired column under magnitude, and warns that it can become tricky to read with more than two series. For the wider set of comparison charts, see the best chart for comparison.

The cost is the total. Readers have to add the bars in their heads, which is slow and easy to get wrong.

What a stacked bar chart is good at

A stacked bar chart puts the series end to end, so each category becomes one bar whose length is the total. The FT Visual Vocabulary lists the stacked column under part-to-whole, and notes that it gets hard to read with more than a few components.

Use it when the total is the headline and the split is supporting detail.

The limit is the baseline. Only the first series sits on it. Every segment above starts at a different point in each bar, so its length is hard to compare across categories. Datawrapper makes the same point: bars on the same baseline are easier to compare than bars that float in the middle of a stack. So put the series readers most need to compare first, next to the axis.

The same data drawn both ways

Here is one sample table, four quarters and three products, drawn as clustered bars.

Product A led every quarter, and Product C passed Product B only in Q3

Units sold, thousands

  • Product A
  • Product B
  • Product C

Source: Sample data

Product A led every quarter, and Product C passed Product B only in Q3. Units sold, thousands. Source: Sample data
QuarterProduct AProduct BProduct C
Q1302010
Q2352515
Q3402225
Q4453020

Two things are easy to see. Product A leads every quarter, and Product C edges past Product B in Q3 before falling back in Q4. Now the same numbers, stacked.

Total sales rose every quarter, from 60,000 to 95,000 units

Units sold, thousands

  • Product A
  • Product B
  • Product C

Source: Sample data

Total sales rose every quarter, from 60,000 to 95,000 units. Units sold, thousands. Source: Sample data
QuarterProduct AProduct BProduct CTotal
Q130201060
Q235251575
Q340222587
Q445302095

Here the totals are the story: 60, 75, 87 and 95 thousand units. Product A sits on the baseline and is still easy to follow. Now try to tell whether Product C grew between Q3 and Q4. Its segment floats at a different height in every bar, so the drop from 25 to 20 is hard to spot. That is the trade-off.

When to use a 100% stacked bar chart

A 100% stacked bar chart stretches every bar to the same length, so each segment shows a share of its category's total. Microsoft describes it as comparing the percentage each value contributes to a total across categories. It suggests the column version especially when the total is the same for each category.

Use it when the mix matters more than the size. "Is Product C's share growing?" fits. "How much did we sell?" does not, because the totals disappear. If readers need them, add the totals as labels or in a table.

The first segment lines up against one edge and the last against the other, so those two compare well. Any segments in between have the same floating problem as before.

Mistakes that make both types hard to read

  • Too many series. Colours blur together and readers bounce between the bars and the legend. Keep to a few, and split the chart when you cannot.
  • Colours that look alike. Similar shades, or pairs that colour-blind readers cannot tell apart, make segments hard to separate. See colour-blind safe chart colours.
  • Stacking things that do not add up. A stack implies a meaningful total. If the parts overlap, as with survey questions where people could pick more than one answer, the total means nothing. Use clustered bars.
  • A shuffled series order. Keep the same order in every bar and in the legend, and put the most important series on the baseline.
  • An axis that does not start at zero. Readers judge bars by length. The FT Visual Vocabulary says columns must always start at 0.

What to do when you need both: a stack inside a cluster

Many of the forum threads on this topic come from people trying to put a stack inside each cluster, to get the comparison and the totals at once. Even when it works, the result is usually crowded. Two simpler options tend to read better:

  • Small multiples: one small bar chart per group, all on the same scale.
  • Two charts side by side: one clustered for the parts, one stacked for the totals. A table works too if readers need exact figures.

Chartsmade draws grouped bars, stacked bars and small multiples, so either route works there. It does not draw a combined stack-inside-cluster chart.

Horizontal or vertical bars?

Vertical columns suit a few categories, especially time periods, which read left to right. Horizontal bars suit long category names, because the text fits on the left. The FT Visual Vocabulary recommends bars when labels have long category names. Clustered and stacked bars both work in either direction.

To try both on your own data, paste a table or CSV into the bar chart maker, pick a suggested chart, and download a PNG or SVG or share a live embed. It is free to start, and free downloads carry a small "Made with Chartsmade" line. If you are not sure a bar chart is right at all, the chart picker walks you through the choice.

Questions

What is the difference between a stacked and a clustered bar chart?
A clustered bar chart puts each category's series side by side, all starting from the same baseline. A stacked bar chart puts them end to end, so each category becomes one bar whose length is the total. Use clustered bars to compare the parts and stacked bars to show the total.
When should I use a stacked bar chart instead of a clustered one?
Use it when the total is the main point and the split is supporting detail, and when the parts really add up to a meaningful whole. If readers need to compare the parts accurately across categories, use clustered bars.
What does a 100% stacked bar chart show?
Every bar is stretched to the same length, so each segment shows its share of that category's total. It shows how the mix changes and hides the totals, so add them as labels or in a table if they matter.
Can you combine a stacked and a clustered bar chart?
Some people build a stack inside each cluster with spreadsheet workarounds, but the result is usually crowded. Small multiples (one bar chart per group, on the same scale) or two charts side by side usually read better.
How many series can a stacked bar chart show before it gets hard to read?
There is no fixed number. The FT Visual Vocabulary says stacked columns get hard to read with more than a few components, and only the first series sits on a shared baseline. Keep to a few series and split the chart when you need more.

Sources

  1. Microsoft Support, Available chart types in Office
  2. Financial Times, Visual Vocabulary
  3. Datawrapper, The chart types our users create (on stacking order and shared baselines)

Read next