# Radar Chart (Andromeda Legacy)

Radar Chart is a component of the free, MIT-licensed Andromeda Legacy design system from AI Canvas (https://aicanvas.me). Index of every system, component and install setup: https://aicanvas.me/llms.txt

Polygon spider chart for multi-axis system diagnostics. Single or multiple overlapping series.

- Design system: [Andromeda Legacy](https://aicanvas.me/design-systems/andromeda.md)
- License: MIT
- Install slug: `andromeda-radar-chart`
- Page: https://aicanvas.me/design-systems/andromeda/radar-chart

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-radar-chart
```

Needs a free AI Canvas account; signed out, the command writes a placeholder (an `AccountRequired` notice) instead.

Every Andromeda Legacy component at once: `npx shadcn@latest add @aicanvas/andromeda`.

Token setup: the Install section of https://aicanvas.me/llms.txt.

## Use it

It installs to `components/aicanvas/andromeda/components/RadarChart.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import { RadarChart } from '@/components/aicanvas/andromeda/components/RadarChart'
```

## Example

```tsx
import { RadarChart } from '@/components/aicanvas/andromeda/components/RadarChart'

<RadarChart
  title="Release readiness"
  data={[{ axis: 'Tests', score: 92 }, { axis: 'Docs', score: 74 }, { axis: 'Review', score: 86 }]}
  series={[{ key: 'score', label: 'Readiness' }]}
/>
```

## Parts

Radar Chart is built from `RadarSeries` and `RadarChart`. Each part has its own props table below.

## Props

### RadarSeries

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `key` | `string` |  | Key in each data row whose numeric value this series plots. |
| `label` | `string` |  | Series name shown in the legend and tooltip. |
| `color?` | `string` |  | Stroke and fill color for this series, defaults to the accent color. |

### RadarChart

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `data?` | `object[]` |  | Array of data rows, each an axis label plus one numeric value per series. |
| `series?` | `RadarSeries[]` |  | Series descriptors defining which data keys to plot and how. |
| `label?` | `string` | `'/// Diagnostics'` | Kicker text shown above the title in the card header. |
| `title?` | `string` | `'Systems Radar'` | Main heading shown in the card header. |
| `description?` | `string` |  | Optional line of text shown beneath the title. |
| `className?` | `string` |  | Additional CSS classes for the root element. |
| `style?` | `React.CSSProperties` |  | Inline styles merged onto the root element. |

## More Andromeda Legacy components

- [Radio](https://aicanvas.me/design-systems/andromeda/radio.md)
- [Search Field](https://aicanvas.me/design-systems/andromeda/search-field.md)
- [Segmented Control](https://aicanvas.me/design-systems/andromeda/segmented-control.md)
- [Slider](https://aicanvas.me/design-systems/andromeda/slider.md)
- [Spinner](https://aicanvas.me/design-systems/andromeda/spinner.md)
