---
title: Pie Chart
description: Used to display data as segments of a circular chart
links:
storybook: charts-pie-chart--basic
recharts: https://recharts.org/en-US/api/PieChart
---
## Usage
```tsx
import { Chart, useChart } from "@chakra-ui/charts"
import { Pie, PieChart } from "recharts"
```
```tsx
```
## Examples
### Label inside
Render the `LabelList` from `recharts` inside the `Pie` to display the label
inside the pie chart.
```tsx
```
### Label outside
Pass the `label` prop to the `Pie` component to display the label outside the
pie chart.
```tsx
`${name}: ${value}`}>
{/* ... */}
```
### Remove Stroke
Set the `stroke` prop to `none` to remove the stroke from the pie chart.
### Legend
Render the `Chart.Legend` component to display a legend for the pie chart.
### Point Label
Here's an example of how to add point labels.
### Start Angle
Set the `startAngle` and `endAngle` props to the desired start and end angles
for the pie chart.
```tsx
{/* ... */}
```