Skip to content

ScatterPlot

const ScatterPlot: (props) => ReactElement

Defined in: react/components/data/chart.tsx:78

A braille scatter plot — {x, y} points drawn without connecting lines, so the x position is meaningful. Auto-ranges both axes unless pinned.

<ScatterPlot points={[{ x: 1, y: 2 }, { x: 3, y: 5 }]} style={{ height: 8 }} />

ScatterPlotProps

ReactElement