Radar chart
Several measures on shared axes, drawn as one filled shape.
| Axis | Platform team | Target |
|---|---|---|
| Design | 3 | 3.5 |
| Frontend | 4.5 | 4 |
| Backend | 4 | 4 |
| Data | 2.5 | 3.5 |
| Operations | 3.5 | 4 |
| Security | 3 | 4 |
When to use
- Comparing a few items across the same five to eight dimensions.
- Showing a profile, such as strengths of a plan or a team.
When not to use
- Exact values matter; use a table or bars.
- The axes have different units or no natural order.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/radar-chart
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
RadarChart
10 props
PropTypeDefault
label *string—
axes *readonly string[]—
series *readonly RadarSeries[]—
maxnumber—
ringsnumber4
unitstring""
formatValue((value: number) => string)numberText
loadingboolean—
errorstring—
classNamestring—
Keyboard
- →
- Moves to the next item or value.
- ↓
- Moves to the next item or value.
- ←
- Moves to the previous item or value.
- ↑
- Moves to the previous item or value.
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes group and status semantics, with aria-label and aria-busy kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/radar-chart.mdThe index of every part is at /llms.txt.