Radar chart
A spider chart with several series over shared spokes: grid rings, shapes spring out from the centre, arrow keys read the spokes one by one, and in RTL the spokes run counter-clockwise.
Real scenarios
The component as it is used in a product — not a specimen grid.
Model scorecard
Six skills, two releases, a fixed rim of 100 and five rings. The shapes spring out from the centre one after another; hover a spoke (or focus the chart and use the arrow keys) to read every release on that skill. On a Persian page the spokes run counter-clockwise.
Support model v2 vs v1
| v2 | v1 | |
|---|---|---|
| Speed | 88 | 72 |
| Accuracy | 92 | 80 |
| Cost | 64 | 78 |
| Persian | 95 | 70 |
| Coding | 81 | 66 |
| Safety | 90 | 84 |
Interview panel
Three interviewers on a 5-point scale. Switch an interviewer off in the legend to compare the other two; the hidden shape fades and shrinks rather than vanishing.
Candidate: senior frontend
| Sara | Reza | Mina | |
|---|---|---|---|
| Architecture | 4 | 5 | 3 |
| Accessibility | 5 | 3 | 4 |
| Teamwork | 4 | 4 | 5 |
| Code quality | 4 | 5 | 4 |
| Communication | 3 | 4 | 5 |
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| axes / series | array | [] | One name per spoke, and the series (one value per spoke). |
| max / rings | number / int | auto / 4 | The rim’s value (a round number above the data by default) and the ring count. |
| size / hidden-series / dir | int / array / string | 340 / [] / auto | Drawing size, series off at start and a forced direction. |
Snippet
<x-nx::radar-chart title="کارنامهٔ مدلها" :max="100" rings="5"
:axes="['سرعت', 'دقت', 'هزینه', 'فارسی', 'کدنویسی', 'ایمنی']"
:series="[
['name' => 'نسخهٔ ۲', 'values' => [88, 92, 64, 95, 81, 90]],
['name' => 'نسخهٔ ۱', 'values' => [72, 80, 78, 70, 66, 84]],
]" />