Square-root / power scale
native
Sqrt or pow scale (bubble areas, skewed data)
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.encoding.y.scale.type=sqrt.
Source: chartkit:packages/core/src/generated/schema.ts:683
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "line",
"data": [
{
"quarter": "Q1",
"units": 40
},
{
"quarter": "Q2",
"units": 55
}
],
"encoding": {
"x": "quarter",
"y": {
"field": "units",
"scale": {
"type": "sqrt"
}
}
},
"a11y": {
"alt": "Units rose in Q2."
},
"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: scale.sqrt.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | none | — | absence · absence | — |
| Recharts | native | YAxis.scale=sqrt | types · strong | recharts/types/cartesian/YAxis.d.ts:69 |
| Apache ECharts | none | — | absence · absence | — |
| Highcharts | none | — | absence · absence | — |
| Plotly.js | none | — | absence · absence | — |
| Nivo | unknown | — | conflict · unknown | — |
| Victory | native | grep: sqrt | grep · weak | victory-core/lib/types/prop-types.d.ts:95 |
| visx | native | grep: scaleSqrt | grep · weak | @visx/scale/lib/index.d.ts:8 |
| ApexCharts | unknown | — | conflict · unknown | — |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: sqrt | grep · weak | @observablehq/plot/src/scales.d.ts:174 |
| Vega-Lite | native | grep: sqrt | grep · weak | 21968: "description" |
| AG Charts | none | — | absence · absence | — |
| amCharts 5 | none | — | absence · absence | — |
| Google Charts | none | — | absence · absence | — |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | LineChart.yAxis.scaleType=sqrt | types · strong | @mui/x-charts/models/axis.d.mts:365 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: sqrt | grep · weak | @antv/g2/lib/index.d.ts:98 |