Scatter chart
Two measures per item, with an optional third as point size. Points grow in, hidden groups shrink away, and a trend line with its fit draws after them.
Trend: Revenue rises by about 406.33 for each 1 of Seats (R² 0.86).
| Item | Seats | Revenue | Open tickets |
|---|---|---|---|
| Halden | 4 | 1200 | 2 |
| Ostra | 41 | 24805 | 9 |
| Northwind | 78 | 31790 | 16 |
| Sprout | 115 | 66143 | 23 |
| Lumen | 152 | 69191 | 30 |
| Kestrel | 9 | 6507 | 7 |
| Forma | 46 | 26822 | 14 |
| Brightline | 83 | 36809 | 21 |
| Orchard | 120 | 39204 | 28 |
| Tidewater | 157 | 81734 | 5 |
| Copperleaf | 14 | 13052 | 12 |
| Juniper | 51 | 22385 | 19 |
| Halden Labs | 88 | 50878 | 26 |
| Ostra Labs | 125 | 56275 | 3 |
| Northwind Labs | 162 | 54079 | 10 |
| Sprout Labs | 19 | 12447 | 17 |
| Lumen Labs | 56 | 24782 | 24 |
| Kestrel Labs | 93 | 29525 | 31 |
| Forma Labs | 130 | 66196 | 8 |
| Brightline Labs | 167 | 75102 | 15 |
| Orchard Labs | 24 | 13596 | 22 |
| Tidewater Labs | 61 | 36229 | 29 |
| Copperleaf Labs | 98 | 43974 | 6 |
| Juniper Labs | 135 | 44127 | 13 |
| Halden Group | 172 | 88975 | 20 |
| Ostra Group | 29 | 13371 | 27 |
| Northwind Group | 66 | 20462 | 4 |
| Sprout Group | 103 | 51273 | 11 |
| Lumen Group | 140 | 62528 | 18 |
| Kestrel Group | 177 | 58090 | 25 |
| Forma Group | 34 | 22196 | 2 |
| Brightline Group | 71 | 32289 | 9 |
| Orchard Group | 108 | 34790 | 16 |
| Tidewater Group | 145 | 73779 | 23 |
| Copperleaf Group | 182 | 72343 | 30 |
| Juniper Group | 39 | 12015 | 7 |
When to use
- Accounts by seats and revenue, endpoints by traffic and latency.
- Finding outliers and clusters.
When not to use
- One measure over time; use the line chart.
- Thousands of points; aggregate into a heatmap matrix first.
Installation
pnpm dlx shadcn@latest add @caliper/scatter-chart
Adds its 7 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
trendLine
0 props
No props of its own; it accepts the native props of its root element.
ScatterChart
13 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
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/scatter-chart.mdThe index of every part is at /llms.txt.