Bubble chart
native
Scatter with a size encoding
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.encoding.size.
Source: chartkit:packages/core/src/generated/schema.ts:488
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "scatter",
"data": [
{
"x": 16,
"y": 3,
"size": 4
},
{
"x": 22,
"y": 5,
"size": 10
}
],
"encoding": {
"x": "x",
"y": "y",
"size": "size"
},
"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.bubble.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartTypeRegistry.bubble | types · strong | chart.js/dist/types/index.d.ts:3731 |
| Recharts | native | ZAxis.range | types · strong | recharts/types/cartesian/ZAxis.d.ts:31 |
| Apache ECharts | native | series.symbolSizecallback | types · strong | echarts/types/dist/shared.d.ts:7758 |
| Highcharts | native | series.type=bubble | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.marker.size | types · strong | plot-schema.json#traces.{box,scatter,scatter3d,scattercarpet,scattergeo,scattergl,…}.attributes.marker.size |
| Nivo | native | ScatterPlot.nodeSize | types · strong | @nivo/scatterplot/dist/types/types.d.ts:97 |
| Victory | native | VictoryScatter.bubbleProperty | types · strong | victory-scatter/lib/victory-scatter.d.ts:5 |
| visx | native | GlyphSeriessize accessor | types · strong | @visx/xychart/lib/components/series/GlyphSeries.d.ts:5 |
| ApexCharts | native | chart.type=bubble | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | native | ScatterChart.size | types · strong | @tremor/react/dist/index.d.ts:142 |
| Observable Plot | native | dotr channel | types · strong | @observablehq/plot/src/marks/dot.d.ts:112 |
| Vega-Lite | native | grep: size | grep · weak | 232: "description" |
| AG Charts | native | series.type=bubble | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | native | grep: heatRulesbullet radius via heatRules | grep · weak | @amcharts/amcharts5/examples/xy-bubble/config.json:549 |
| Google Charts | native | BubbleChart | types · strong | @types/google.visualization/index.d.ts:1081 |
| uPlot | manual | Options.hooksdemo with custom points path | mechanism · weak | uplot/dist/uPlot.d.ts:394 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: markerSize | grep · weak | @mui/x-charts/models/seriesType/scatter.d.ts:31 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: size | grep · weak | @antv/g2/lib/api/utils.d.ts:14 |