Features · type

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.

Lane C has more.Lane C has more.AB051015AC
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartTypeRegistry.barmultiple datasetstypes · strongchart.js/dist/types/index.d.ts:3707
RechartsnativeBarmultiple Bar childrentypes · strongrecharts/types/cartesian/Bar.d.ts:352
Apache EChartsnativeseries.type=barmultiple bar seriestypes · strongecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=columnmultiple seriestypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativelayout.barmode=grouptypes · strongplot-schema.json#layout.layoutAttributes.barmode
NivonativeBar.groupMode=groupedtypes · strong@nivo/bar/dist/types/types.d.ts:167
VictorynativeVictoryGroup, VictoryGroup.offsettypes · strongvictory-group/lib/victory-group.d.ts:13
visxnativeBarGroup, AnimatedBarGrouptypes · strong@visx/shape/lib/shapes/BarGroup.d.ts:56
ApexChartsnativechart.type=bartypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)nativeBarChartmultiple categoriestypes · strong@tremor/react/dist/index.d.ts:105
Observable PlotnativebarYfacet fx or dodge via x + fxtypes · strong@observablehq/plot/src/marks/bar.d.ts:203
Vega-Litenativegrep: xOffsetencoding.xOffsetgrep · weak5161: "xOffset"
AG Chartsnativeseries.groupedtypes · strongag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:106
amCharts 5nativeColumnSeriesclustered by defaulttypes · strong@amcharts/amcharts5/.internal/charts/xy/series/ColumnSeries.d.ts:33
Google ChartsnativeColumnCharttypes · strong@types/google.visualization/index.d.ts:710
uPlotpartialgrep: barsdemo grouped bars via multiple series and offsetsgrep · weak713: export const enum BarsPathBuilderFacetUnit {
TradingView Lightweight Chartsnone—absence · absence—
MUI X ChartsnativeBarChartmultiple seriestypes · strong@mui/x-charts/BarChart/BarChart.d.mts:72
Mermaid (chart-ish diagrams only)partialMermaidConfig.xyChartmultiple bar lines overlap rather than grouptypes · strongmermaid/dist/config.type.d.ts:225
AntV G2nativegrep: dodgeXgrep · weak@antv/g2/lib/index.d.ts:30