Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# @Author: A Cup of Tea
# @Content: Gantt Chart for publishing a magazine within 3 month
import plotly.figure_factory as ff
df = [dict(Task="Assigning articles to writers", Start='2019-10-05', Finish='2019-10-25'),
dict(Task="Knocking Writers", Start='2019-10-05', Finish='2019-10-30'),
dict(Task="Collecting Articles", Start='2019-10-15', Finish='2019-11-10'),
dict(Task="Initial Review", Start='2019-10-15', Finish='2019-10-30'),
dict(Task="Request to Re-write", Start='2019-10-15', Finish='2019-11-15'),
dict(Task="Final Preview", Start='2019-11-01', Finish='2019-11-25'),
dict(Task="Prepare Articles for Design", Start='2019-11-10', Finish='2019-11-25'),
dict(Task="Primary Design", Start='2019-11-20', Finish='2019-11-30'),
dict(Task="Proof Reading", Start='2019-11-20', Finish='2019-12-05'),
dict(Task="Correction", Start='2019-12-05', Finish='2019-12-15'),
dict(Task="Re-design & Cover design", Start='2019-12-05', Finish='2019-12-20'),
dict(Task="Final Design", Start='2019-12-20', Finish='2019-12-25'),
dict(Task="Dealing with press", Start='2019-12-15', Finish='2019-12-25'),
dict(Task="Published", Start='2019-12-25', Finish='2019-12-31'),
]
fig = ff.create_gantt(df)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment