Visualization VocabularyDataviz vocabulary
Diagram: stacked area chart
Drawing: Adrien Taudière (CC0)
ggplot2 example: stacked area chart
Adrien Taudière (CC0); R code ↓; data: gapminder (Bryan 2025) (CC BY 4.0)

chart

stacked area chart

also: component curves chart, band chart

Areas cumulated on top of one another.

graphique en aires empilées

aussi : courbes pleines superposées

Aires cumulées les unes sur les autres.

Classification

  • chart
  • lines and areas › areas
  • change over time, part-to-whole

Channels

Variants

Attestation and synonyms

Scientific literature

OpenAlex: 82 papers since 2002, 43% in the last five years; mostly in Computer Science, Arts and Humanities, Engineering

R packages

R code of the ggplot2 example

library(ggplot2)
library(dplyr)
library(gapminder)

## Oceania, two countries, would be a band too thin to name.
population <- gapminder |>
  filter(continent != "Oceania") |>
  group_by(continent, year) |>
  summarise(pop = sum(pop) / 1e9, .groups = "drop")

## Each name goes after the middle of its band, in 2007; the last level is
## stacked at the bottom.
ends <- population |>
  filter(year == max(year)) |>
  arrange(desc(continent)) |>
  mutate(y = cumsum(pop) - pop / 2)

p <- ggplot(population, aes(x = year, y = pop, fill = continent)) +
  geom_area(colour = "white", linewidth = 0.3) +
  geom_text(data = ends, aes(x = year, y = y, label = continent, colour = continent),
            hjust = 0, nudge_x = 1.5, size = 3.5) +
  scale_x_continuous(breaks = seq(1952, 2007, 10), expand = expansion(mult = c(0, 0.2))) +
  scale_y_continuous(labels = lex_number, expand = expansion(mult = c(0, 0.05))) +
  scale_fill_manual(values = continent_colors) +
  scale_colour_manual(values = continent_text_colors) +
  labs(title = "Population more than doubled from 1952 to 2007",
       subtitle = "140 countries, summed by continent; Oceania left out",
       x = NULL, y = "Population (billions)",
       caption = "Data: Gapminder, via the gapminder R package") +
  theme_lex_viz(grid = "y") +
  theme(legend.position = "none")

Sources (25)

69 occurrences in the corpus; indexed by 6 books

Show the 25 sources

Cite this entry

Stable addresshttps://dataviz.adrientaudiere.com/en/term/stacked-area-chart.html

ReferenceTaudière Adrien. 2026. stacked area chart. In Visualization Vocabulary, version 1.0.0. IdEst. https://dataviz.adrientaudiere.com/en/term/stacked-area-chart.html

BibTeX
@incollection{taudiere2026-stacked-area-chart,
  author    = {Taudière, Adrien},
  title     = {stacked area chart},
  booktitle = {Visualization Vocabulary},
  year      = {2026},
  version   = {1.0.0},
  publisher = {IdEst},
  url       = {https://dataviz.adrientaudiere.com/en/term/stacked-area-chart.html},
  note      = {CC0 1.0}
}

Page created on 2026-10-13. Text last changed on 2026-11-12. Images last changed on 2026-11-02. Numbers computed on 2026-10-22.