What it does
Renders points for each series with shared axes, grid, tooltip, and legend controls.
Use appearance and density variants to match surrounding dashboards.
Data shape
`xKey` names the horizontal field; each `series.dataKey` names a numeric vertical measure.
Common use cases
- Traffic versus conversion rate.
- Latency versus request volume.
- Quality score versus adoption rate.
Accessibility
Use clear series names and avoid relying on dense point clusters alone.
Consider a table or summary for outliers and exact values.
Next.js integration notes
Import from `@zentauri-ui/zentauri-components/charts/scatter` inside client components when interaction is required.
FAQ
How is ScatterChart different from BubbleChart?
ScatterChart plots X and Y values only. BubbleChart adds an optional `zKey` channel for point size.
Can the X axis be categorical?
Yes. If the first `xKey` value is not numeric, the chart renders a category X axis.