Chart

Scatter

Web supportediOS supportedAndroid supported

Reveal relationships, clusters and outliers between two measures.

ECharts scatter series · View source

When to use

Use for correlation and distribution across two numeric dimensions.

Props

The chart's own props first, then the shared ones this form reads.

PropTypeDefaultDescription
series*ChartScatterSeries[]Named groups of points in a two-measure space.
xLabelstringLabel shown for the horizontal measure.
xFormatChartNumberFormatNumber formatting for horizontal values.
yLabelstringLabel shown for the vertical measure.
yFormatChartNumberFormatNumber formatting for vertical values.
axisChartAxes{ x: true, y: true }Horizontal and vertical axis visibility.
texturebooleanfalseDraws decal patterns over fills — a second encoding on top of hue, for full colour-vision deficiency, print and forced-colors.
classNamestringCSS class applied to the chart root.
heightnumber240Plot height in px. A chart never measures its own content, so this is what reserves the space.
isLoadingbooleanfalseHeld true while the data is in flight. Shows the matching skeleton, then cross-fades into the plot.
skeletonReactNodeReplaces the built-in placeholder while isLoading is true. Takes a rendered element.
surfaceChartSurfaceThe container the plot sits in — background, border, corner radius, padding. Merges over Chart.Provider, key by key.