AnyChart Gantt charts visualize project timelines with tasks, milestones, and dependency links. They support flexible data input from multiple formats, including nested structures that naturally represent parent-child relationships.
This sample loads nested JSON and builds a data tree using the as-tree mode, which preserves the original parent-child task hierarchy. The hierarchical data is then passed to anychart.ganttProject, and the chart is automatically fitted to display the full schedule range. It is a practical reference for working with naturally nested project datasets.
See the Gantt Chart documentation for all configuration options.