Scatter plot
native
Points by two quantitative values
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=scatter.
Source: chartkit:packages/core/src/generated/schema.ts:24
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "scatter",
"data": [
{
"x": 16,
"y": 3
},
{
"x": 22,
"y": 5
}
],
"encoding": {
"x": "x",
"y": "y"
},
"a11y": {
"alt": "Y peaks at 22."
},
"size": {
"width": 640,
"height": 260
}
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: type.scatter.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartTypeRegistry.scatter | types · strong | chart.js/dist/types/index.d.ts:3723 |
| Recharts | native | ScatterChart, Scatter | types · strong | recharts/types/chart/ScatterChart.d.ts:8 |
| Apache ECharts | native | series.type=scatter | types · strong | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=scatter | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.mode=markers | types · strong | plot-schema.json#traces.{scatter,scatter3d,scattercarpet,scattergeo,scattergl,scattermap,…}.attributes.mode |
| Nivo | native | ScatterPlot | types · strong | @nivo/scatterplot/dist/types/ScatterPlot.d.ts:4 |
| Victory | native | VictoryScatter | types · strong | victory-scatter/lib/victory-scatter.d.ts:38 |
| visx | native | GlyphSeries, GlyphCircle | types · strong | @visx/xychart/lib/components/series/GlyphSeries.d.ts:5 |
| ApexCharts | native | chart.type=scatter | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | native | ScatterChart | types · strong | @tremor/react/dist/index.d.ts:175 |
| Observable Plot | native | dot | types · strong | @observablehq/plot/src/marks/dot.d.ts:112 |
| Vega-Lite | native | mark=point | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native | series.type=scatter | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | native | LineSeriesdocumented: line series with bullets and hidden stroke | types · strong | @amcharts/amcharts5/.internal/charts/xy/series/LineSeries.d.ts:70 |
| Google Charts | native | ScatterChart | types · strong | @types/google.visualization/index.d.ts:666 |
| uPlot | partial | Options.modemode:2 / points path demo | types · strong | uplot/dist/uPlot.d.ts:340 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | ScatterChart | types · strong | @mui/x-charts/ScatterChart/ScatterChart.d.mts:97 |
| Mermaid (chart-ish diagrams only) | native | MermaidConfig.quadrantChartquadrant points only | types · strong | mermaid/dist/config.type.d.ts:224 |
| AntV G2 | native | MarkTypes=point | types · strong | @antv/g2/lib/spec/mark.d.ts:13 |