Features · type

Box plot

native

Quartiles, whiskers and outliers

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

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

ChartKit spec

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

A is wider.A is wider.A: min 1, q1 3, median 5, q3 7, max 9A: min 1, q1 3, median 5, q3 7, max 9A: min 1, q1 3, median 5, q3 7, max 9B: min 2, q1 2.5, median 3, q3 3.5, max 4B: min 2, q1 2.5, median 3, q3 3.5, max 4B: min 2, q1 2.5, median 3, q3 3.5, max 40510AB
{
  "version": "1",
  "type": "boxplot",
  "data": [
    {
      "x": "A",
      "y": 1
    },
    {
      "x": "A",
      "y": 9
    },
    {
      "x": "B",
      "y": 2
    },
    {
      "x": "B",
      "y": 4
    }
  ],
  "encoding": {
    "x": "x",
    "y": "y"
  },
  "a11y": {
    "alt": "A is wider."
  },
  "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.boxplot.md.

LibraryStatusOptionVerificationSource
Chart.jsplugin—npm · weak—
RechartsmanualCustomizedmechanism · weakrecharts/types/component/Customized.d.ts:26
Apache EChartsnativeseries.type=boxplottypes · strongecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=boxplottypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.type=boxtypes · strongplot-schema.json#traces.box
NivonativeBoxPlottypes · strong@nivo/boxplot/dist/types/BoxPlot.d.ts:4
VictorynativeVictoryBoxPlottypes · strongvictory-box-plot/lib/victory-box-plot.d.ts:81
visxnativeBoxPlottypes · strong@visx/stats/lib/BoxPlot.d.ts:50
ApexChartsnativechart.type=boxPlottypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable PlotnativeboxY, boxXtypes · strong@observablehq/plot/src/marks/box.d.ts:53
Vega-Litenativemark=boxplottypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnative entseries.type=box-plottypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5partialCandlestickSeriesdocumented box plot via candlesticktypes · strong@amcharts/amcharts5/.internal/charts/xy/series/CandlestickSeries.d.ts:27
Google Chartspartialgrep: intervalintervals style:'boxes'grep · weak@types/google.visualization/index.d.ts:46
uPlotnone—absence · absence—
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=boxplot, MarkTypes=boxtypes · strong@antv/g2/lib/spec/mark.d.ts:13