# Flat Data

The KendoReact Gantt provides a built-in function to convert flat data to a tree that can be visualized by the component.

To covert the flat data to a tree, utilize the [`createDataTree`](https://www.telerik.com/kendo-react-ui/components/gantt/api/createdatatree) function of the Gantt.

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

## Suggested Links

* [React Gantt](https://www.telerik.com/kendo-react-ui/components/gantt)
* [API Reference of the Gantt](https://www.telerik.com/kendo-react-ui/components/gantt/api/ganttprops)
