---
title: "Chart animated icon"
description: "Chart animated icon (Tools). Three data bars rise from one baseline into staggered target values and retain the result without overshooting the data."
canonical: https://generativeicons.lottiefiles.com/icons/chart/
---

# Chart animated icon

Three data bars rise from one baseline into staggered target values and retain the result without overshooting the data.

- Id: `chart`
- Category: Tools
- Search terms: bar chart, bar graph, graph, column chart, histogram, statistics, stats, analytics, metrics, insights, data viz, reports
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.lottiefiles.com/assets/chart.lottie (dotLottie, 5553 bytes, sha256 8676aba15486645f457b64318dfd636cdc3cc24ab8adbd31aa655e6ab53302ff)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add chart
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/chart.mjs';

export function ChartIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/chart.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.lottiefiles.com/icons/chart/ · https://generativeicons.lottiefiles.com/api/icons/chart
