The Jupyter notebook and associated sample can be used for creating gantt charts simply by updating the sample csv file.
- Download the
Gantt Script.ipynb
file andSample.csv
in same directory. - Run it on the local JupyterLab instance.
- If the outputs are generated, you are all set. If not install any missing dependencies.
- Once it all runs fine, make changes in Sample.csv and run the notebook again.
- If you create a copy of
Sample.csv
and want to use that, just make sure that in second cell you change the assignment for variableproject_plan
to the new file name.
- If you create a copy of
Once run, the notebook will create 3 svg
files with static gantt using matplotlib and 1 html
file for interactive gantt using plotly. Samples are in this repo.
To change the threshold
for Part 1 and Part 2 of the gantt charts above, you will need to change threshold in Cell 8, as shown below:
Finally, the html file is interactive and will show the gantt like shown below: