# PieChartComponent

Display a pie chart visualization

## Installation

```tsx
import { PieChartComponent } from 'uxp/components';
```

## Signature

```tsx
const PieChartComponent: React.FunctionComponent<IPieChartProps>
```

## Properties

| Name       | Type                                                                                | Mandatory | Default Value | Example Value |
| ---------- | ----------------------------------------------------------------------------------- | --------- | ------------- | ------------- |
| data       | [IDataItem\[\]](https://help.iviva.com/uxp/v5/additional-resources/types/idataitem) | Yes       | -             | -             |
| fillColor  | string                                                                              | Yes       | -             | -             |
| showLegend | boolean                                                                             | No        | -             | -             |

## Related Types

* [IPieChartProps](https://help.iviva.com/uxp/v5/additional-resources/types/ipiechartprops)
* [IDataItem](https://help.iviva.com/uxp/v5/additional-resources/types/idataitem)
