Charts
RadarChart
Multi-dimensional profiles from single skill sets to interactive comparisons.
<script>
import { RadarChart } from "@codeatlasdev/ui/charts";
</script>
<RadarChart
indicators={[{ name: "Speed", max: 100 }, { name: "Quality", max: 100 }, { name: "Support", max: 100 }]}
series={[{ name: "Team A", values: [88, 92, 94] }]}
/>
values must follow the order of indicators. A legend appears automatically when there is more than one series.
Simple radar
Code
Comparison
Two series with a legend and focus on hover.
Code
Interactive team builder
Drag the sliders and the radar updates live.
Speed 88
Quality 92
Reliability 76
Innovation 85
Support 94
Coverage 79
Code
Props
| Prop | Type | Default | Description |
|---|---|---|---|
indicators | RadarIndicator[] | – | Axes as { name, max }. |
series | RadarSeries[] | – | Named series as { name, values: number[], color? }, aligned to indicators. |
height | string | '340px' | CSS height of the chart. |
class | string | '' | Extra class names. |