Stacked Area Chart

A stacked area chart showing composition over time. Supply multiple series with date-value pairs. Great for visualizing how parts contribute to a whole over time.

Template details

  • chart
  • area
  • stacked
  • timeseries
  • composition
  • d3

When to use this template

A stacked area chart effectively illustrates how individual components contribute to a total over time, revealing both the overall trend and the relative proportion of each part. Analysts use it to observe shifts in composition and identify which parts are growing or shrinking within a larger aggregate. It helps in understanding the dynamics of a whole influenced by its constituent elements.

  • Time-series data with regular intervals.
  • Multiple categorical series, each with numeric values.
  • Values that are additive and represent parts of a whole.
  • Non-negative numeric values for all series.
  • Moderate number of series (typically 2-7) to avoid clutter.
  • Data where changes in proportion are key insights.

Browse all Koan templates