Box plot
Statistical box-and-whisker plot. Shows min, Q1, median, Q3, max distributions.
Primitive:
ChartBoxPlotInteractive demo
Usage
import { ChartRoot, ChartBoxPlot } from '@ramtt/charts'
<ChartRoot data={boxData} height={200}>
<ChartBoxPlot />
</ChartRoot>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| boxWidth | number | 0.5 | Box width ratio |
| color | string | 'var(--n1150)' | Box color |
| medianColor | string | '#3b82f6' | Median line color |