# Traffic Source Donut

> A donut chart card that splits website traffic by source, with a centered total visitor count and a ranked, color-coded legend list below it.

- Author: [Oliver](https://21st.dev/@olewandowski1)
- Library: 7Ovr
- License: no-license
- Tags: Dashboard, Analytics, Pie Chart, Chart
- npm dependencies: recharts
- Live preview: https://21st.dev/@olewandowski1/components/charts-5

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/olewandowski1/charts-5?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/dashboard.md
