ScatterChart
Token-native multi-series scatter/bubble chart (Recharts) with optional z-dimension bubble sizing — risk/return scatter, VaR vs. exposure, FX spread vs. volume, counterparty clustering
import { ScatterChart } from "@nodus/design-system/finance"Props
| Prop | Type | Default | Description |
|---|---|---|---|
seriesreq | ScatterSeries[] | — | Series — {label, data: {x, y, z?, name?}[], color?}; z maps to bubble size |
title | string | — | Chart title |
asOf | string | — | As-of date shown right of the title |
xLabel | string | — | X-axis label |
yLabel | string | — | Y-axis label |
height | number | 260 | Chart height in px |
showGrid | boolean | true | Show grid lines |
zRange | [number, number] | [40, 400] | Bubble area range mapped from the z dimension |
ariaLabel | string | — | Accessible label override (falls back to title) |
style | CSSProperties | — | Style override |
seriesrequiredScatterSeries[]Default —Series — {label, data: {x, y, z?, name?}[], color?}; z maps to bubble size
titlestringDefault —Chart title
asOfstringDefault —As-of date shown right of the title
xLabelstringDefault —X-axis label
yLabelstringDefault —Y-axis label
heightnumberDefault 260Chart height in px
showGridbooleanDefault trueShow grid lines
zRange[number, number]Default [40, 400]Bubble area range mapped from the z dimension
ariaLabelstringDefault —Accessible label override (falls back to title)
styleCSSPropertiesDefault —Style override
Accessibility
- Wrapper renders role="group" labelled from ariaLabel ?? title.
- Series colors come from the DS categorical dataviz palette and re-resolve on theme change.
- Provide xLabel/yLabel axis labels — they render inside the plot and give the axes meaning for all users.
Scatter chart requires min 300px. Wrap in overflow-x-auto.
This component was designed to express:
Explore Related
Two-dimensional scatter plot for correlation and distribution — risk vs. return, exposure vs. limit
Token-native grouped/stacked bar chart (Recharts) reading DS dataviz tokens at runtime — FX volume by currency, payment counts by status, budget vs. actual, funding source stacks
Multi-series SVG line chart for time-series and trend data — cash forecasts, FX history, AI confidence trends