How to make a stacked area
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a date column for Date and one or more number columns for Values.
-
Check the columns
The stacked area picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a stacked area?
A stacked area chart layers several series on top of each other over time, so the top edge is the total and each band is one part's contribution. It suits totals like energy mix or revenue by product.
How to read it
The top line is the combined total; each coloured band's thickness is that part's value. Only the bottom band sits on a flat baseline, so judge the others by thickness, not by height.
When to use it
Show a total over time and how its parts build it. It is one of the change over time charts, which show how values rise, fall and repeat over time.
If the shift in mix matters more than the total, use a 100% stacked area. To compare the trend of each series precisely, use a Line chart or Small multiples.
Tips for a better stacked area
- Place the most stable or most important series at the bottom, where it is easiest to read.
- Keep to about five or six series, grouping minor ones together.
- Use it only for values that genuinely add up, such as parts of a total.
Data you need
One row per item with a date column for Date and one or more number columns for Values. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Year | Gas | Coal | Hydro | Nuclear | Wind | Solar |
|---|---|---|---|---|---|---|
| 2012 | 5100 | 9100 | 3660 | 2470 | 520 | 100 |
| 2013 | 5050 | 9500 | 3800 | 2490 | 640 | 140 |
| 2014 | 5200 | 9600 | 3900 | 2540 | 710 | 190 |
| 2015 | 5500 | 9350 | 3900 | 2570 | 830 | 250 |
| 2016 | 5800 | 9200 | 4050 | 2610 | 960 | 330 |
| 2017 | 5900 | 9400 | 4100 | 2640 | 1140 | 450 |
| 2018 | 6150 | 9800 | 4200 | 2710 | 1270 | 580 |
| 2019 | 6300 | 9450 | 4250 | 2800 | 1420 | 710 |
Other charts for the same data
More change over time charts
Questions, answered
- What is a stacked area?
- A stacked area chart layers several series on top of each other over time, so the top edge is the total and each band is one part's contribution. It suits totals like energy mix or revenue by product.
- How do you read a stacked area?
- The top line is the combined total; each coloured band's thickness is that part's value. Only the bottom band sits on a flat baseline, so judge the others by thickness, not by height.
- How do I make a stacked area?
- Paste your data into the chart maker with a date column for Date and one or more number columns for Values. The stacked area draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a stacked area?
- Show a total over time and how its parts build it. It belongs to the change over time family of charts, which show how values rise, fall and repeat over time. If the shift in mix matters more than the total, use a 100% stacked area. To compare the trend of each series precisely, use a Line chart or Small multiples.
- Is this stacked area maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the stacked area as SVG or PNG.