# C radar chart 2

> Skill profile — circle grid with dots

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/c-radar-chart-2).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/c-radar-chart-2
- Screenshot: https://shadcn.exchange/shot/cnippet/c-radar-chart-2/light.png
- Registry item: https://ui.cnippet.dev/r/c-radar-chart-2.json
- Categories: radar chart
- Listed: 2026-10-27, source last changed 2026-10-27

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet/c-radar-chart-2.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/radar-chart`, `@cnippet/chart-card`

## Files

### `registry/default/chart-variants/c-radar-chart-2.tsx`

```tsx
"use client";

import { ChartCard } from "@/registry/default/charts/chart-card";
import { RadarChart } from "@/registry/default/charts/radar-chart";

// Self-assessed skill levels, 1–5.
const data = [
  { level: 5, skill: "React" },
  { level: 4, skill: "TypeScript" },
  { level: 3, skill: "Testing" },
  { level: 4, skill: "CSS" },
  { level: 2, skill: "DevOps" },
  { level: 3, skill: "Design" },
];

export default function SkillProfile() {
  return (
    <ChartCard
      className="max-w-sm"
      description="Self-assessment, 1–5"
      title="Skill profile"
    >
      <RadarChart
        categories={["level"]}
        className="h-64"
        config={{ level: { color: "var(--chart-2)", label: "Level" } }}
        data={data}
        gridType="circle"
        index="skill"
        showDots
      />
    </ChartCard>
  );
}
```
