The Heroicons chart pie icon visually represents data distribution or proportions, commonly used to illustrate statistical breakdowns or segment analysis in user interfaces.
Common uses
- Displaying sales by category
- Showing user demographics
- Illustrating survey results
Use it in React
Install
npm i @heroicons/reactImport & render
import { ChartPieIcon } from '@heroicons/react/24/outline';
<ChartPieIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<ChartPieIcon className="size-6" />24/solid
<ChartPieIcon className="size-6" />20/solid
<ChartPieIcon className="size-6" />16/solid
<ChartPieIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- chartpiepie chartdoughnut chartdata chartstatistics
FAQ
- What is the chart pie icon used for?
- It's used to visualize data broken down into proportions or segments, like market share or survey responses.
- How do I use the chart pie icon in React?
- Import it using: import { ChartPieIcon } from '@heroicons/react/24/outline' and then use it as a React component.
- What is the license for Heroicons?
- Heroicons are released under the MIT license, allowing for free commercial and non-commercial use.
Related icons
The same idea in other libraries, and near matches in Heroicons.