Skip to content
Browse docs and components

Radar Chart

radar-chart

Several measures on one shape for comparing a few profiles, on TanStack Charts. Every spoke shares one scale from zero, the grid is a polygon, and focus picks a whole spoke so the tooltip lists every profile on it.

Responsive

Install

$npxshadcnadd@forme/radar-chart

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

RadarChart

Several measures on one shape, for comparing a few profiles at a glance.

PropTypeDefaultDescription
data*readonly Row[]—One row per profile: a plan, a model, a player.
index*keyof Row & string—The field that names each profile.
axes*readonly RadarAxis<Row>[]—The spokes, clockwise from the top. Three to eight read well.
label*string—Accessible name. Say what the profiles are and what is measured.
maxnumber—The value at the rim. Defaults to the largest value in the data.
formatValue(value: number) => stringplain
heightnumber320
classNamestring—