---
title: "Pie chart animated icon"
description: "Pie chart animated icon (Tables & analytics). A share is singled out and slotted home. Light: the quarter wedge pops out along its bisector, hangs, and drops back into its slot with a hit and a small bounce; the pie takes the impact and gives a little. Strong: the wedge presses in first, pops far out, hangs, and slams home with two decaying bounces while the pie recoils harder and settles. Both pieces stay rigid."
canonical: https://generativeicons.com/icons/pie-chart/
---

# Pie chart animated icon

A share is singled out and slotted home. Light: the quarter wedge pops out along its bisector, hangs, and drops back into its slot with a hit and a small bounce; the pie takes the impact and gives a little. Strong: the wedge presses in first, pops far out, hangs, and slams home with two decaying bounces while the pie recoils harder and settles. Both pieces stay rigid.

- Id: `pie-chart`
- Category: Tables & analytics
- Search terms: pie graph, donut chart, doughnut chart, market share, breakdown, distribution, proportion, slice, segments, allocation, composition, share of total
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/pie-chart.lottie (dotLottie, 3615 bytes, sha256 a202449205dc0ceb21e1306e18c7bb421ce502888698efcc319601e38d2a39e8)
- License: MIT

## Install

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

## React

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

export function PieChartIcon() {
  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/pie-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.com/icons/pie-chart/ · https://generativeicons.com/api/icons/pie-chart
