Skip to content
Charts

Scatter chart

Correlation. Dots, bubbles, or a bloom on each point.

Props

PropertyTypeDefaultDescription
dataChartDatum[]Points with numeric x and y. Optional z for bubble size.
xKeystring"x"Horizontal numeric field.
yKeystring"y"Vertical numeric field.
zKeystring"z"Used only by the bubble variant.
variant"dots" | "bubble" | "glow" | "field""dots"Equal dots, sized bubbles, or a bloom on each point.
configChartConfigColor and label for yKey.
classNamestringChart container. Default height is 220px.