Skip to content
caliper ui pro docs

Connected scatter

Points joined in time order on two axes.

Pro
Time spent on the app against satisfaction
523465457857Minutes a daySatisfaction20122025

The line runs from 2012 to 2025.

Time spent on the app against satisfaction
PeriodMinutes a daySatisfaction
20123452
201336.7547361849292557.59568091058323
201439.2512361665773761.6428923354891
201541.29448897052892463.178600471267856
201642.800454339016562.18930500872769
201743.816638717028759.616143245605436
201844.51046401773171456.99907076880359
201945.12827689908283455.894644653893266
202045.9350345103225657.28753007735803
202147.1494337411367861.21822425000538
202248.8903665957410966.76774548416711
202351.1478112837451472.40507605663657
202453.7852859039623676.56599983742316
202556.5732639737931978.24449136501832

When to use

  • Showing how two measures move together.

When not to use

  • Readers are unfamiliar with the form.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/connected-scatter

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

ConnectedScatter

7 props
PropTypeDefault
label *string—
points *readonly ScatterPoint[]—
xLabel *string—
yLabel *string—
fx((n: number) => string)(n) => String(n)
fy((n: number) => string)(n) => String(n)
classNamestring—

Keyboard

→
Moves to the next item or value.
↓
Moves to the next item or value.
←
Moves to the previous item or value.
↑
Moves to the previous item or value.

Accessibility

It exposes group and status semantics, with aria-label 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/connected-scatter.md

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

More in Showpiece charts