Stacked Area Chart: What It Is and When to Use It
A stacked area chart shows a total over time and what it is made of. Learn when to use one, what data it needs, and when a line or stream graph is better.

A stacked area chart shows how a total changes over time and how much each part contributes to it. If you have several categories that add up to something meaningful, such as sales by region or energy by source, it lets readers see the whole and the mix in one shape. This guide covers what a stacked area chart is, when to use it, what data it needs, and when to pick something else.
What is a stacked area chart?
A stacked area chart is a line chart where each series is a coloured band and the bands are piled on top of each other. The top edge of the pile is the total at each point in time, and the thickness of each band is that category's share. It works for any quantity that adds up, and it cannot show negative values.
The chart below shows migration to the US by world region from 1820 to 2009. The numbers are recorded by decade, so the point for 1905 covers 1900 to 1910.
When to use a stacked area chart
Use one when the total and its composition both matter, and when time runs along the horizontal axis.
- Trends in a total with a breakdown. Revenue by product line, users by platform, spending by category. The top edge tells the total story and the bands tell the mix story.
- Composition changing over time. A band that thickens while the others stay level is a category taking share, which is hard to spot in a table.
- Shares of a whole. When the bands sum to 100 percent, as in the share of the world's citizens living under different political regimes, the chart reads as the changing mix of one population.
The same layout works for physical quantities. This chart tracks the consumption of vegetable oils by the biodiesel industry, in millions of metric tonnes, so the height of the pile is the industry's total demand.
What data does a stacked area chart need?
The data needs three things: an ordered axis, categories that add up, and values on the same scale.
| Requirement | What it means | Example |
|---|---|---|
| Ordered axis | Time, or another continuous scale | Years, months, age |
| Additive categories | The parts sum to a meaningful total | Sales by region |
| One unit | Every series uses the same unit | All in tonnes, or all in percent |
| Non-negative values | Areas cannot go below zero | Counts, amounts, shares |
| Few series | Each band needs to stay readable | Three to six |
In a spreadsheet this is a wide table: one column for the period and one column per category. The area chart guide shows the layout step by step.
When to avoid a stacked area chart
A stacked area chart is a poor fit in four situations.
- You need exact values. Only the bottom band starts at a flat baseline, so every other band floats on a wobbling edge. Readers find it hard to compare band thickness, and a line chart is better when precise comparison matters.
- The series have gaps. Missing periods break the bands and make the story unclear. Fill the gaps or choose another chart.
- There are too many categories. Past six or so, thin bands blur together. Group the small ones into one "Other" band, or switch to small multiples.
- The parts do not add up. If the series are overlapping or independent, stacking them implies a total that does not exist. The Data Visualisation Catalogue makes the same point: stacked areas convey whole numbers, so they do not work for negative values.
The next chart shows the distribution of the TOP500 list by country over time.
Stacked area chart vs its alternatives
The right chart depends on which part of the data carries the story.
| Chart | Best when | Trade-off |
|---|---|---|
| Line chart | You compare several series | No sense of the total |
| Stacked area chart | Total and mix both matter | Middle bands are hard to read exactly |
| Stream graph | Many categories, shape over precision | No fixed baseline, so no exact totals |
| Stacked bar chart | A few discrete periods | Less sense of continuous change |
If you only have a handful of years, the stacked bar chart guide is usually the better choice, since each period gets its own labelled bar. For a quick comparison of all the options, the line and area chart templates page lists every template side by side, and the stream graph guide covers the baseline-free variant.
How to make a stacked area chart in PlotSet
Open the area chart template, upload a CSV with the period in the first column and one column per category, and check that every value column is bound to the chart. Then pick the stacked area chart type, add a title, a source line and publish or export. The step by step guide to stacking areas walks through the settings, and the area chart page has a live example to start from.
Frequently asked questions
What is a stacked area chart used for?
It shows how a total changes over time and how its parts contribute. Typical uses are revenue by product, traffic by source and energy generation by fuel, wherever the categories add up to something meaningful.
What is the difference between an area chart and a stacked area chart?
An area chart plots series that each start at zero and can overlap. A stacked area chart piles the series on top of each other, so the top edge is the sum of all of them and the bands never overlap.
Can a stacked area chart have negative values?
No. Areas stack upward from a baseline, so negative values break the logic. If your data has negatives, use a line chart, or split gains and losses into separate series.
How many series can a stacked area chart have?
Three to six read well. Beyond that the thin bands are hard to tell apart, so group the smallest categories into one "Other" band.
What is a 100 percent stacked area chart?
It scales every point to 100 percent, so the top edge is flat and only the mix changes. Use it when shares matter more than totals.


