Features · type

Histogram

native

Binned distribution of one variable

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=histogram.

Source: chartkit:packages/core/src/generated/schema.ts:24

ChartKit spec

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

Most are low.Most are low.1–4.5: 34.5–8: 1012302468
{
  "version": "1",
  "type": "histogram",
  "data": [
    {
      "x": 1
    },
    {
      "x": 2
    },
    {
      "x": 2
    },
    {
      "x": 8
    }
  ],
  "encoding": {
    "x": "x"
  },
  "mark": {
    "bins": 2
  },
  "a11y": {
    "alt": "Most are low."
  },
  "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.histogram.md.

LibraryStatusOptionVerificationSource
Chart.jsmanualPlugin.afterDatasetsDrawpre-bin + barmechanism · weakchart.js/dist/types/index.d.ts:1051
RechartsmanualCustomizedmechanism · weakrecharts/types/component/Customized.d.ts:26
Apache EChartsplugin—ecStat transform; or pre-binnpm · weak—
Highchartsnativeseries.type=histogramtypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.type=histogramtypes · strongplot-schema.json#traces.histogram
NivomanualLine.layersmechanism · weak@nivo/line/dist/types/types.d.ts:171
VictorynativeVictoryHistogramtypes · strongvictory-histogram/lib/victory-histogram.d.ts:73
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartspartialchart.type=histogrambar with pre-binned datatypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable PlotnativebinX, rectYrectY(data, binX())types · strong@observablehq/plot/src/transforms/bin.d.ts:201
Vega-Litenativegrep: binencoding.x.bingrep · weak1172: "description"
AG Chartsnativeseries.type=histogramtypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5manualGraphicsdocumented histogram via data processingmechanism · weak@amcharts/amcharts5/.internal/core/render/Graphics.d.ts:162
Google ChartsnativeHistogramtypes · strong@types/google.visualization/index.d.ts:866
uPlotmanualOptions.hooksmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsunknown—conflict · unknown—
MUI X ChartsmanualChartsContainermechanism · weak@mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34
Mermaid (chart-ish diagrams only)unknown—conflict · unknown—
AntV G2nativegrep: binXgrep · weak@antv/g2/lib/index.d.ts:28