Box Plot
Show statistical distribution of data: median, quartiles, and outliers. Essential for comparing distributions across categories.
Usage
import { BoxplotChart } from "@chartts/react"
<BoxplotChart
data={distributionData}
x="category"
min="min" q1="q1" median="median" q3="q3" max="max"
/>Props
| Prop | Type | Description |
|---|---|---|
| data | T[] | Array of data objects with statistical values |
| x | keyof T | Key for categories |
| min | keyof T | Key for minimum values |
| q1 | keyof T | Key for first quartile |
| median | keyof T | Key for median values |
| q3 | keyof T | Key for third quartile |
| max | keyof T | Key for maximum values |
Features
- Whisker and box rendering
- Outlier point display
- Horizontal layout
- Notched variant
- Interactive quartile tooltips
- Animated entry
Other Charts
Line ChartBar ChartArea ChartPie / Donut ChartScatter ChartBubble ChartRadar ChartCandlestick ChartWaterfall ChartFunnel ChartGauge ChartSparklineStacked Bar ChartHorizontal Bar ChartDonut ChartHeatmapHistogramTreemapPolar ChartRadial Bar ChartLollipop ChartBullet ChartDumbbell ChartCalendar ChartCombo ChartSankey Diagram