Search for a command to run...
Performance
You vs. team average
Used to compare entities across multiple dimensions at once — skill profiles, model evaluations, or feature scorecards — where shape conveys strengths and weaknesses.
fillOpacity={0.2}npx shadcn@latest add https://ui.heygaia.io/r/radar-chart.jsonimport { RadarChart } from "@/components/ui/radar-chart";
const data = [
{ skill: "Speed", you: 82, team: 70 },
{ skill: "Accuracy", you: 91, team: 75 },
{ skill: "Reliability", you: 76, team: 80 },
];
export default function Example() {
return (
<RadarChart
data={data}
angleKey="skill"
valueKeys={["you", "team"]}
title="Performance"
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
| data | Array<Record<string, string | number>> | - | Chart data rows |
| angleKey | string | - | Key on each row used for the axis label |
| valueKeys | string | string[] | - | One or more numeric keys to plot |
| title | string | - | Card title |
| description | string | - | Card description |
| footer | string | - | Optional footer text |
| colors | string[] | CHART_COLORS | Custom palette for series |