Native Web Components playground

Nova v3.38.0

Preview

Web Components

Stacked area chart

Show how several categories add up to a total over time.

A stacked area chart is a data visualization that uses stacked filled areas to represent how multiple categories contribute to a total value over time. Each area corresponds to a data series, and its size indicates its contribution to the cumulative total.

A stacked area chart of power in MW across the days of a month, with bands above and below zero.

When to use it

  • Show how multiple categories contribute to a total over time.
  • Visualize cumulative values and overall volume evolution.
  • Highlight changes in category contribution across periods.
  • Display positive and negative contributions to a balance.
  • Analyze composition and trends simultaneously.

When NOT to use

  • When precise comparison between categories is required.
  • When many categories make the chart difficult to read.
  • When exact values are more important than overall patterns.
  • When categories do not contribute to a cumulative total.
  • When comparing discrete categories rather than continuous evolution.

Categories

  • Chart Type: Composition / Trend
  • Data Type: Continuous numerical data with categorical breakdown
  • Chart Family: Area-based
  • Purpose: Show how multiple categories contribute to a changing total over time

Data requirements

  • One continuous dimension (typically time).
  • Multiple quantitative measures or categories.
  • Consistent intervals between observations.
  • Categories that collectively contribute to a total value.

Use cases

BSPM

BSPM is an ex-post monitoring tool providing visualizations and KPIs that help users analyze the capacity, availability, and delivery of balancing service providers. Stacked Area Charts are used to visualize how different providers or services contribute to the overall reserved and delivered balancing capacity over time, enabling users to quickly identify trends, variations, and changes in the composition of the total capacity.

All Day

Bezuschlagung vs. Vorhaltung
Bezuschlagung vs. Vorhaltung

All Month

Bezuschlagung vs. Vorhaltung
Bezuschlagung vs. Vorhaltung

All Day (Dark view)

A stacked area chart on a dark card, titled Bezuschlagung vs. Vorhaltung: power in MW per pool over 24 hours, with a tooltip for each pool.

All Month (Dark view)

Bezuschlagung vs. Vorhaltung
Bezuschlagung vs. Vorhaltung

Accessibility

Do
  • Use clearly distinguishable colors for each area.
  • Keep category order consistent across the chart.
  • Label axes and units clearly.
  • Use transparency carefully when multiple areas overlap.
  • Provide tooltips for exact values.
  • Limit the number of categories displayed simultaneously.
Don't
  • Stack too many categories and reduce readability.
  • Use colors with insufficient contrast.
  • Remove axis labels or units.
  • Rely solely on color to distinguish categories.
  • Use stacked areas when precise category comparison is required.

Related data visualizations

  • Area Chart Better suited for displaying the evolution of a single metric over time.

  • 100% Stacked Column Chart Better for comparing relative composition rather than continuous evolution.

  • Line Chart Better when trends are more important than contribution or volume.

  • Stacked Column Chart Better for comparing category contributions at specific points in time.

  • Heat Map Useful for identifying patterns, concentration, and anomalies across dimensions.