Error bars
native
Uncertainty whiskers on points or bars
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=errorbar.
Whiskers on point or bar marks, from low and high or a ± field.
Source: chartkit:packages/core/src/charts/errorbar.ts:1
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "errorbar",
"data": [
{
"assay": "A",
"mean": 5.2,
"lo": 4.9,
"hi": 5.5
}
],
"encoding": {
"x": "assay",
"y": "mean",
"low": "lo",
"high": "hi"
},
"a11y": {
"alt": "A reads 5.2."
},
"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.errorbar.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | plugin | — | npm · weak | — |
| Recharts | native | ErrorBar | types · strong | recharts/types/cartesian/ErrorBar.d.ts:121 |
| Apache ECharts | manual | series.type=customcustom series example | mechanism · weak | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=errorbar | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.error_y | types · strong | plot-schema.json#traces.{bar,histogram,scatter,scatter3d,scattergl}.attributes.error_y |
| Nivo | none | — | absence · absence | — |
| Victory | native | VictoryErrorBar | types · strong | victory-errorbar/lib/victory-errorbar.d.ts:27 |
| visx | manual | Group | mechanism · weak | @visx/group/lib/Group.d.ts:15 |
| ApexCharts | none | —no native error bars (boxPlot/rangeBar workarounds) | absence · absence | — |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | ruleX, tickYcompose | types · strong | @observablehq/plot/src/marks/rule.d.ts:114 |
| Vega-Lite | native | mark=errorbar | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native ent | series.errorBar | types · strong | ag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:114 |
| amCharts 5 | manual | Graphics | mechanism · weak | @amcharts/amcharts5/.internal/core/render/Graphics.d.ts:162 |
| Google Charts | partial | grep: intervalinterval role style:'bars' | grep · weak | @types/google.visualization/index.d.ts:46 |
| uPlot | partial | Options.bandswhisker demo | types · strong | uplot/dist/uPlot.d.ts:377 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | none | — | absence · absence | — |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | manual | grep: register | mechanism · weak | @antv/g2/lib/exports.d.ts:2 |