Radar chart
ProSeveral measures on shared axes, drawn as one filled shape.
pnpm dlx shadcn@latest add @caliper/radar-chart| 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 #
Use it for
- Comparing a few items across the same five to eight dimensions.
- Showing a profile, such as strengths of a plan or a team.
Skip it when
- Exact values matter; use a table or bars.
- The axes have different units or no natural order.
Installation #
pnpm dlx shadcn@latest add @caliper/radar-chart
Adds its 3 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.
Usage #
Import it from your copy of the source. The example behind the preview comes with the source.
import { RadarChart } from "@/components/ui/radar-chart"
The worked example comes with Pro
The 20-line example behind the preview opens here with a Pro or Team licence.
API reference #
RadarChart
component
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.
Motion #
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.