# Vaccine coverage radial chart

> Vaccination coverage by vaccine, as a radial chart.

A shadcn/ui block from the [@organui](https://organui.com/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/organui/chart-radial-coverage).

- Page, with a live preview: https://shadcn.exchange/r/organui/chart-radial-coverage
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/organui/chart-radial-coverage-light-53fe63316c991cce.png
- Registry item: https://organui.com/r/chart-radial-coverage.json
- Categories: charts, charts-radial
- Listed: 2026-10-22, source last changed 2026-10-22

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/organui/chart-radial-coverage.json
```

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

## Dependencies

- npm packages: `recharts`
- Registry items: `card`, `chart`

## Notes from the registry

Vaccine coverage radial chart: https://organui.com/charts/radial#chart-radial-coverage

## Files

### `registry/base-nova/charts/chart-radial-coverage.tsx`

```tsx
"use client"

import { RadialBar, RadialBarChart } from "recharts"

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
import {
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
  type ChartConfig,
} from "@/components/ui/chart"

export const description = "Vaccination coverage by vaccine, as a radial chart"

// Percent of eligible children covered, illustrative.
const chartData = [
  { vaccine: "mmr", coverage: 92, fill: "var(--color-mmr)" },
  { vaccine: "dtp", coverage: 95, fill: "var(--color-dtp)" },
  { vaccine: "polio", coverage: 94, fill: "var(--color-polio)" },
  { vaccine: "hepB", coverage: 89, fill: "var(--color-hepB)" },
  { vaccine: "hpv", coverage: 71, fill: "var(--color-hpv)" },
]

const chartConfig = {
  coverage: {
    label: "Coverage (%)",
  },
  mmr: {
    label: "MMR",
    color: "var(--chart-1)",
  },
  dtp: {
    label: "DTP",
    color: "var(--chart-2)",
  },
  polio: {
    label: "Polio",
    color: "var(--chart-3)",
  },
  hepB: {
    label: "Hepatitis B",
    color: "var(--chart-4)",
  },
  hpv: {
    label: "HPV",
    color: "var(--chart-5)",
  },
} satisfies ChartConfig

export function ChartRadialCoverage() {
  return (
    <Card className="flex flex-col">
      <CardHeader className="items-center pb-0">
        <CardTitle>Vaccine coverage</CardTitle>
        <CardDescription>Eligible children, this year</CardDescription>
      </CardHeader>
      <CardContent className="flex-1 pb-0">
        <ChartContainer
          config={chartConfig}
          className="mx-auto aspect-square max-h-[250px]"
        >
          <RadialBarChart data={chartData} innerRadius={30} outerRadius={110}>
            <ChartTooltip
              cursor={false}
              content={<ChartTooltipContent hideLabel nameKey="vaccine" />}
            />
            <RadialBar dataKey="coverage" background />
          </RadialBarChart>
        </ChartContainer>
      </CardContent>
      <CardFooter className="text-sm text-muted-foreground">
        HPV lags the others; illustrative data.
      </CardFooter>
    </Card>
  )
}
```
