---
title: Bar Chart
description: A sample bar chart for widgets/presentation
author: harimanok_
---

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

## Installation

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

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

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

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

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

```

</Steps>

## Credits

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