Stacked bars hide the story.

Stacked bar charts look precise. They pack a lot of data into a small space, which is why dashboards and reports love them. But that density has a cost. Stack too much and the story disappears.

The original chart

This is Eurostat’s chart of the EU’s trade balance for goods, from Q1 2021 to Q3 2026.

A quick definition first. The trade balance is the value of what a country exports minus the value of what it imports. Sell more abroad than you buy and you have a surplus. Buy more than you sell and you have a deficit.

The chart splits the balance into seven product groups. Surpluses stack above zero, deficits below, and a line shows the total.

Take a moment with it. What do you notice first? What do you think the message is?

What I saw first

My eyes darted between the legend and the columns. Seven colours compete for attention, and some are hard to tell apart: I kept mixing up the red and the pink, and the two blues.

The headline was easy enough. The line drops below zero, so the EU is back in deficit in 2026. But what’s driving it? My first guess was energy. It’s the biggest block, so surely it’s the cause. The teal and purple segments at the top kept catching my eye too, but I couldn’t follow either of them from one quarter to the next.

Why stacked columns make this hard

Stacked columns are good at one thing: showing an overall total while hinting at what it’s made of. Your eyes read the full height of each bar.

The parts are another matter. The only segment you can compare from one bar to the next is the one sitting on the axis, because it’s the only one with a fixed starting point. Every other segment floats on top of the ones below it, so it’s starting point moves every quarter.

This chart adds a second problem. Surpluses stack up and deficits stack down, so the height of the bars no longer shows the total at all. This stacked column chart makes it harder to compare the full height of the columns. That’s why there’s a line on top.

Splitting the stack

To find out what’s driving the deficit, I pulled the stack apart. This is a time series, so I started with small multiples: one line chart per sector, all on the same scale.

Now every trend is visible. The total is falling, as we’d already seen. Energy deficit is large, but its not the only one.

Another sector that moved is machinery and transport equipment. Its surplus fell from €63B in Q1 2024 to under €10B in Q3 2026. Over the same period the total swung by €86B, from a €50B surplus to a €36B deficit, so machinery alone accounts for about 60% of the fall.

We couldn’t see this with the stacked chart. Giving all seven categories equal weight meant that nothing stood out.

When stacked bars work

Stacked bars still work when:

  • the total is the point and the parts are background
  • the only part you need to follow over time is the bottom one
  • you’re showing one moment, and the parts are all positive and add up to a whole, like the make-up of exports in a single year
  • there are two or three segments, not seven

Showing what matters

We create stacked charts because we want to show everything. Here are three ways to show what matters instead, from keeping every sector to keeping the stack itself.

Remake 1 : show every sector, three highlighted

Let’s plot all seven sectors as lines on the same zero baseline. We then add colour to only the three that carry the story: the total, machinery and energy. Everything else goes grey. We label the three highlighted sectors at its end instead of using a legend, and give the chart a title that states the finding.

The full picture is still there, but the eye lands on the coloured lines first. Use this version when your audience will ask “what about the other sectors?”

Remake 2 : show only the lines that matter

Another option is to drop the grey lines altogether, leaving three: the total, machinery and energy. Here again we label each line at its end and give the chart a title that states the finding.

This is the clearest version. Machinery falls from €63B to under €10B, energy is still in deficit, and the total follows them down. The trade-off is trust: you’re asking readers to accept that what you left out doesn’t change the story. An option is to add a small note saying what you have not shown.

Remake 3 : show the stack, with a baseline for what matters

Sometimes readers expect the stacked format. We can keep it and still fix the comparison problem. To do this, let’s put machinery directly on the zero line and energy directly below it. Both now start from a fixed baseline, so we can follow them from one quarter to the next. We add colour to only these two, grey out the other five, and keep the line for the total.

Readers still get the full breakdown, but only two segments compete for attention.

Two questions before you stack

First, do your readers need to compare the totals and see the parts? If not, don’t stack.

Second, do they also need to compare one of the parts? Then put that part at the bottom, on the axis. If they need to compare more than one, unstack.

Which of the three remakes would you use? Or have you found a stacked chart that genuinely works, even with surpluses and deficits mixed together? Tell me in the comments.

You Might Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.