# C chart skeleton 3

> Donut placeholder — loading state for a part-to-whole card

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

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

## Install

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

## Files

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

```tsx
"use client";

import { ChartCard } from "@/registry/default/charts/chart-card";
import { ChartSkeleton } from "@/registry/default/charts/chart-skeleton";
import { Skeleton } from "@/registry/default/ui/skeleton";

export default function TrafficSourcesLoading() {
  return (
    <ChartCard
      className="max-w-sm"
      description="Share of sessions by channel"
      title="Traffic sources"
      value={<Skeleton className="h-8 w-24" />}
    >
      <ChartSkeleton className="aspect-auto h-44" variant="donut" />
    </ChartCard>
  );
}
```
