Stream

@nivo/streamstacked

Stream chart.

The responsive alternative of this component is ResponsiveStream.

See the dedicated guide on how to setup legends for this component.

roll the dice
Actions Logs
Start interacting with the chart to log actions
Base
object[]required

Chart data.

string | numberrequired

Keys to use to build each layer.

string | (layer) => string | numberoptionaldefault:'id'

Label accessor, used for legends.

string | (value: number) => stringoptional
open editor

Optional formatter for values.

stringoptional
silhouette

Offset type.

stringoptional
none

Layers order.

stringoptionaldefault:'catmullRom'
catmullRom

Curve interpolation.

numberrequired

Chart width.

numberrequired

Chart height.

objectoptional
px
px
px
px

Chart margin.

Style
Customization
Grid & Axes
Dots
Interactivity
Motion
Accessibility