Range Distribution
ProNewCompare five-number summaries on a shared axis with an animated box, whiskers and median marker.
Installation
pnpm dlx shadcn@latest add @viewport/range-distribution
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| series* | Distribution[]Five-number summaries in ascending order, using a shared unit. | — |
| unit* | stringMeasurement unit shared by all distributions. | — |
Accessibility
- Labeled dataset buttons choose a distribution. The complete five-number summary is available as text.