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.
Our searchable collection of LaTeX examples is a great place to look when you're using a LaTeX package for the first time (or the first time in a while!).
Show off your awesome LaTeX skills by contributing examples to the gallery. You can publish any Overleaf project with a couple of clicks.
New examples of LaTeX packages and techniques are added all the time. Follow us on twitter for the highlights!