Grouped bar
native
Several series side by side per category
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.encoding.series.
series split, unstacked
Source: chartkit:packages/core/src/generated/schema.ts:443
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "bar",
"data": [
{
"lane": "A",
"stops": 12,
"group": "A"
},
{
"lane": "C",
"stops": 15,
"group": "B"
}
],
"encoding": {
"x": "lane",
"y": "stops",
"series": "group"
},
"a11y": {
"alt": "Lane C has more."
},
"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.bar.grouped.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartTypeRegistry.barmultiple datasets | types · strong | chart.js/dist/types/index.d.ts:3707 |
| Recharts | native | Barmultiple Bar children | types · strong | recharts/types/cartesian/Bar.d.ts:352 |
| Apache ECharts | native | series.type=barmultiple bar series | types · strong | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=columnmultiple series | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | layout.barmode=group | types · strong | plot-schema.json#layout.layoutAttributes.barmode |
| Nivo | native | Bar.groupMode=grouped | types · strong | @nivo/bar/dist/types/types.d.ts:167 |
| Victory | native | VictoryGroup, VictoryGroup.offset | types · strong | victory-group/lib/victory-group.d.ts:13 |
| visx | native | BarGroup, AnimatedBarGroup | types · strong | @visx/shape/lib/shapes/BarGroup.d.ts:56 |
| ApexCharts | native | chart.type=bar | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | native | BarChartmultiple categories | types · strong | @tremor/react/dist/index.d.ts:105 |
| Observable Plot | native | barYfacet fx or dodge via x + fx | types · strong | @observablehq/plot/src/marks/bar.d.ts:203 |
| Vega-Lite | native | grep: xOffsetencoding.xOffset | grep · weak | 5161: "xOffset" |
| AG Charts | native | series.grouped | types · strong | ag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:106 |
| amCharts 5 | native | ColumnSeriesclustered by default | types · strong | @amcharts/amcharts5/.internal/charts/xy/series/ColumnSeries.d.ts:33 |
| Google Charts | native | ColumnChart | types · strong | @types/google.visualization/index.d.ts:710 |
| uPlot | partial | grep: barsdemo grouped bars via multiple series and offsets | grep · weak | 713: export const enum BarsPathBuilderFacetUnit { |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | BarChartmultiple series | types · strong | @mui/x-charts/BarChart/BarChart.d.mts:72 |
| Mermaid (chart-ish diagrams only) | partial | MermaidConfig.xyChartmultiple bar lines overlap rather than group | types · strong | mermaid/dist/config.type.d.ts:225 |
| AntV G2 | native | grep: dodgeX | grep · weak | @antv/g2/lib/index.d.ts:30 |