Scatter Chart Card
The correlation view - one dot per record placed by two measures, sized by a third when the data carries one. Points are grouped into series so each cohort keeps its own colour; hovering one swaps the headline to that record and dims the other series, and axis captions sit under the plot.
Revenue per account
Provided data| Category | Value |
|---|---|
| Acme | 180 |
| Bolt | 240 |
| Corvus | 210 |
| Delta | 320 |
| Ember | 290 |
| Flux | 380 |
| Gale | 620 |
| Helio | 740 |
| Ionic | 690 |
| Juno | 880 |
| Kite | 810 |
| Lumen | 960 |
| Meridian | 1,240 |
| Nova | 1,420 |
| Orbit | 1,310 |
| Prism | 1,580 |
Installation
Download the React source package, install its dependencies, and import the component with its shared styles.
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="scatter-chart-card"/>;}Without bubbles
A supplied z value enables bubble sizing. Set bubble={false} to use equal-sized dots when a third measure is unnecessary or makes the chart harder to compare.
Revenue per account
Provided data| Category | Value |
|---|---|
| Acme | 180 |
| Bolt | 240 |
| Corvus | 210 |
| Delta | 320 |
| Ember | 290 |
| Flux | 380 |
| Gale | 620 |
| Helio | 740 |
| Ionic | 690 |
| Juno | 880 |
| Kite | 810 |
| Lumen | 960 |
| Meridian | 1,240 |
| Nova | 1,420 |
| Orbit | 1,310 |
| Prism | 1,580 |
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="scatter-chart-card" bubble={false}/>;}Data
Each series contains a label, points and optional color. Points use x, y, an optional size z, and an optional label for the hover header. The component derives group averages, legends and tiles. Supply ranges to populate the period dropdown.
'use client';
import {SourceChartPreview} from '@helios-ui/react';
import '@helios-ui/react/styles.css';
export default function Example(){return <SourceChartPreview id="scatter-chart-card" series={[{name:'Starter',color:'var(--color-chart-2)',points:[{x:12,y:80,z:20},{x:24,y:160,z:45}]}]}/>;}