---
title: Donut Chart
description: A simple donut chart for showing progress. Useful for widget and bento grids.
author: harimanok_
---

<ComponentPreview name="graphs-donut-chart--docs" />

## Installation

<Steps>
<Step>Run the following command</Step>

It will create a new file called `donut-chart.tsx` inside the `components/animata/graphs` directory.

```bash
mkdir -p components/animata/graphs && touch components/animata/graphs/donut-chart.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/graphs/donut-chart.tsx

```

</Steps>

## Credits

Built by [hari](https://github.com/hari)
