An example of Gantt Chart in Overleaf
Creative Commons CC BY 4.0
This is a direct copy of the codes in section 2.9 of the pgfgantt package documentation (See page 45) except the color setting.
Alone with this one, this examples shows how to make Gantt charts for project planning in LaTeX with the pgfgantt package. They are from the package documentation. The pgfgantt package provides many useful macros for generating the calendar for the Gantt chart for either absolute or relative dates. It also provides macros for grouping and linking tasks, and for full control over the styling of the chart.