Skip to content
caliper ui pro docs

Streamgraph

Stacked series that flow around a centre line.

Pro
Traffic sources

Traffic sources
PointSearchDirectSocial
Jan302012
Feb372515
Mar332118
Apr402613
May362216
Jun322719
Jul392314
Aug352817

When to use

  • Showing how a mix of categories changes over time.
  • Emphasising shape and rhythm over exact values.

When not to use

  • Readers must compare exact quantities.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/streamgraph

Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

Streamgraph

7 props
PropTypeDefault
label *string—
data *readonly ChartDatum[]—
series *readonly ChartSeries[]—
unitstring""
loadingboolean—
errorstring—
classNamestring—

Keyboard

↑
Moves to the previous item or value.
↓
Moves to the next item or value.
Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes group and status semantics, with aria-label, aria-busy and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/streamgraph.md

The index of every part is at /llms.txt.

More in Time-series charts