# C radial chart 3

> Site scores — four Lighthouse rings

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-radial-chart-3).

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

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet/c-radial-chart-3.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/radial-chart`, `@cnippet/chart-card`

## Files

### `registry/default/chart-variants/c-radial-chart-3.tsx`

```tsx
"use client";

import { ChartCard } from "@/registry/default/charts/chart-card";
import { RadialChart } from "@/registry/default/charts/radial-chart";

// Lighthouse scores for the marketing site.
const data = [
  { category: "SEO", score: 100 },
  { category: "Best practices", score: 96 },
  { category: "Accessibility", score: 91 },
  { category: "Performance", score: 78 },
];

export default function LighthouseScores() {
  return (
    <ChartCard
      className="max-w-sm"
      description="Lighthouse, mobile, last run"
      title="Site scores"
    >
      <RadialChart
        category="score"
        className="h-64"
        data={data}
        index="category"
        max={100}
      />
    </ChartCard>
  );
}
```
