Features · type

Range / floating bar

native

Bars from a low to a high value

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=bar-range.

Floating bar from low to high per category. The bar does not start at zero.

Source: chartkit:packages/core/src/charts/bar-range.ts:1

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

July is warm.July is warm.0102030JanJulJan: -2–6Jul: 17–29
{
  "version": "1",
  "type": "bar-range",
  "data": [
    {
      "month": "Jan",
      "min": -2,
      "max": 6
    },
    {
      "month": "Jul",
      "min": 17,
      "max": 29
    }
  ],
  "encoding": {
    "x": "month",
    "low": "min",
    "high": "max"
  },
  "a11y": {
    "alt": "July is warm."
  },
  "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.range.md.

LibraryStatusOptionVerificationSource
Chart.jspartialChartTypeRegistry.bardata as [low, high] tuples (floating bars)types · strongchart.js/dist/types/index.d.ts:3707
RechartspartialBar.dataKeydataKey returning [low, high]types · strongrecharts/types/util/types.d.ts:1208
Apache EChartsmanualseries.type=customstacked transparent series or custommechanism · weakecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=columnrangetypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.basetypes · strongplot-schema.json#traces.{bar,barpolar,waterfall}.attributes.base
NivomanualLine.layersmechanism · weak@nivo/line/dist/types/types.d.ts:171
VictorynativeVictoryBartypes · strongvictory-bar/lib/victory-bar.d.ts:71
visxnativeBarmanual geometrytypes · strong@visx/shape/lib/shapes/Bar.d.ts:9
ApexChartsnativechart.type=rangeBartypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable PlotnativebarYbarY({y1, y2})types · strong@observablehq/plot/src/marks/bar.d.ts:203
Vega-Litenativemark=bartypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnativeseries.type=range-bartypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5nativegrep: openValueYFieldgrep · weak@amcharts/amcharts5/.internal/charts/xy/series/XYSeries.d.ts:292
Google Chartspartialgrep: intervalinterval roles or Timelinegrep · weak@types/google.visualization/index.d.ts:46
uPlotmanualOptions.hooksmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsnone—absence · absence—
MUI X ChartsmanualChartsContainermechanism · weak@mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativeMarkTypes=intervaltypes · strong@antv/g2/lib/spec/mark.d.ts:13