What a PhD Gantt chart needs to show
A Gantt chart draws each task as a bar on a timeline. A useful PhD chart usually shows:
- the main phases, such as literature review, methodology, data collection, analysis, and writing
- fixed milestones, such as ethics approval, progress reviews, and draft submission
- overlaps and dependencies, so that a delay in one task is visible in the others
- buffer time for revisions
Check your university’s list of required milestones and any formatting rules before you finalize the chart. If you are writing the thesis itself in LaTeX, see how to write a thesis in LaTeX.
Load pgfgantt and set up the chart
The pgfgantt package draws Gantt charts with a ganttchart environment. Its two numbers set the time range. For a three-year project with one column per month, use {1}{36}:
\documentclass{article}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[vgrid, hgrid, bar height=0.6]{1}{36}
\gantttitle{Year 1}{12}
\gantttitle{Year 2}{12}
\gantttitle{Year 3}{12} \\
\ganttbar{Literature review}{1}{6} \\
\ganttbar{Methodology design}{7}{9} \\
\ganttbar{Data collection}{10}{18} \\
\ganttbar{Analysis}{19}{26} \\
\ganttbar{Thesis writing}{24}{36}
\end{ganttchart}
\end{document}
Each \gantttitle gives a label and the number of columns it spans. Each row ends with \\. The last row has no \\, since nothing follows it inside the environment.
The vgrid and hgrid options draw vertical and horizontal lines, which make the timeline easier to read on paper.
Option names and syntax change a little between pgfgantt versions. If an example fails, run texdoc pgfgantt to open the manual for your installed version.
Add tasks, groups, and milestones
A group draws a summary bar across several tasks, and a milestone marks a single date:
\begin{ganttchart}[vgrid, hgrid, bar height=0.6]{1}{36}
\gantttitle{Year 1}{12}
\gantttitle{Year 2}{12}
\gantttitle{Year 3}{12} \\
\ganttbar{Literature review}{1}{6} \\
\ganttbar{Methodology design}{7}{9} \\
\ganttmilestone{Ethics approval}{9} \\
\ganttbar{Data collection}{10}{18} \\
\ganttmilestone{Progress review}{18} \\
\ganttgroup{Analysis and writing}{19}{36} \\
\ganttbar{Analysis}{19}{26} \\
\ganttbar{Thesis writing}{24}{36}
\end{ganttchart}
A group bar summarizes the tasks under it, so a reader can see the phase at a glance. Place a milestone on the month when the event is due.
Link dependent tasks
To show that one task must finish before another starts, name the bars and add a link. Name a bar with name= in its options, then connect the names with \ganttlink after the last row:
\begin{ganttchart}[vgrid, hgrid, bar height=0.6]{1}{36}
\gantttitle{Year 1}{12}
\gantttitle{Year 2}{12}
\gantttitle{Year 3}{12} \\
\ganttbar[name=lit]{Literature review}{1}{6} \\
\ganttbar[name=meth]{Methodology design}{7}{9} \\
\ganttbar{Data collection}{10}{18}
\ganttlink{lit}{meth}
\end{ganttchart}
Links make the dependency visible. If your supervisor needs to see which tasks block others, add a link for each one.
Show progress
Use the progress option to shade the completed part of a bar. This is useful for a progress review or a candidature report:
\ganttbar[progress=60]{Literature review}{1}{6}
The bar is shaded to 60 percent. The progress option is available in current versions of pgfgantt, but option names change between versions, so check the manual for yours with texdoc pgfgantt.
Common mistakes
- Too many rows. A chart that runs past one page is hard to read. Group small tasks under a few phases.
- Bars outside the time range. Make sure every end number falls within the range you set in
ganttchart. - No milestones. Ethics approval and progress reviews are often the events a reader checks first. Add them.
- No buffer. A timeline with no slack for revisions looks unrealistic. Add a revision phase before submission.
- Dates that do not match the plan. Keep the chart in step with your methodology chapter, so the two tell the same story.
Where to go next
For the general approach to flowcharts and block diagrams, see the block diagrams and flowcharts guide.
Frequently asked questions
Should the chart use months or years as columns?
Monthly columns are a common choice for multi-year projects, since they show when each task starts and stops. Use the unit your supervisor and university expect.
Can I draw a Gantt chart with TikZ instead?
Yes. TikZ can draw bars and labels by hand, but pgfgantt handles the grid, time titles, groups, and links for you, which saves work for most charts.
How many tasks should the chart include?
Include enough tasks to show each phase and each milestone, and group the rest. The chart should be readable on one page at normal size.