Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Scatter Plot is rendered with the shared Chart component.
Scatter plot for exploring relationships between two numeric dimensions.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | ChartVariant | — | Selects the visual chart type. |
data | ChartDatum[] | demo data | Category data used by bars, radial, funnel, and point charts. |
series | ChartSeries[] | demo series | Multi-series data used by grouped, stacked, multi-line, and area charts. |
palette | ChartPalette | "opus" | Opus, cool, warm, or mono palette. |
height | number | 280 | Chart viewport height in pixels. |
maximise | boolean | false | Allows wide chart types such as bars, lines, areas, and point charts to fill available space. |
showAxis | boolean | false | Shows data-driven X and Y axes on cartesian charts. |
xAxisLabel | string | — | Optional X axis title. |
yAxisLabel | string | — | Optional Y axis title. |
highlightLabel | string | — | Optional highlighted category for vertical bar charts. |
showGrid | boolean | false | Shows chart grid lines where relevant. |
showLegend | boolean | true | Shows series/category legend. |
showValues | boolean | false | Shows visible value labels where supported. |
role="img" and an accessible label from the chart title.