# Integration with the KendoReact Chart Component

To configure the Chart's data:

1. Use the PivotGrid's [`dataCells`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/datacells) function and pass the PivotGrid's [`rows`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridprops#rows), [`columns`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridprops#columns) and [`data`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridprops#data) props.
2. Loop through the `dataCells` result and create Chart `series` and `categories`.

The following example demonstrates how to visualize the PivotGrid data with the KendoReact Chart component.

[Demo Source](https://demos.telerik.com/kendo-react-ui/pivotgrid/chart/func/source.txt)

## Suggested Links

* [API Reference of the PivotGrid](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api)
* [Getting Started with the KendoReact Charts](https://www.telerik.com/kendo-react-ui/components/charts/get-started)
