Streamgraph

Follow composition through centred layers.

Import
@neural-charts/angular
Data
streamgraph

Live demo

Container width

The chart fits its available space automatically. Choose a width to simulate a different container.

Animation
240ms
Uneven totalsThe silhouette follows the total without turning offsets into data.-100-100-50-50005050100100MonMonTueTueWedWedThuThuFriFriSatSatSunSunDayDayVisits

Uneven totals

The silhouette follows the total without turning offsets into data.

Original data
SeriesCategory XidxyVisible
This weekMonday-0day-08.7Yes
This weekTueday-1day-152.5Yes
This weekWedday-2day-221.7Yes
This weekThuday-3day-392Yes
This weekFriday-4day-421Yes
This weekSatday-5day-5102.60000000000001Yes
This weekSunday-6day-625.6Yes
Previous weekMonday-0day-06Yes
Previous weekTueday-1day-137.5Yes
Previous weekWedday-2day-215.399999999999999Yes
Previous weekThuday-3day-360Yes
Previous weekFriday-4day-418Yes
Previous weekSatday-5day-561.2Yes
Previous weekSunday-6day-617.6Yes

Tap a data point or explore it with the pointer or keyboard.

Configurator

Adjust the presentation and interaction of this example.

Chart elements and interaction
Chart toolbar
  1. CSV
  2. PNG
  3. SVG

Interactive examples

Open a chart to explore its data, try its options and copy its code.

When to use it

Use a streamgraph for changing nonnegative contributions over an ordered X axis. The centred offsets describe geometry; they are never the reported data values.

Chart API · Streamgraph

Expand a property to learn when to use it, see its public type, and find examples where applicable.

Data

The property data.type for this family is streamgraph.

Appearance

Customize presentation while keeping series and point identities stable.

Axes and grid

Data types and domains determine the scale. Use options.axes to change its presentation.

Legend

Tooltip

Customize the tooltip with code →

Interaction and state

Identify the selection and hidden series by ID.

Animation

Complete options and events reference

Explore the data

Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.

The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.

Accessibility guide

Example data

Copy the current input object with its original identifiers and values.