0

I am trying to plot a Gantt chart like visualization for the below dataset

Sample dataset

I was able to get it for one date like below

df1 = df[df.Date1=='2018-01-01']

ax = plt.hlines(df1.process, df1.start1, df1.end1 )

hlines visualisation

is there a way to generate subplots for all the dates?

i am looking for something like this

need something like this

thanks

ulab
  • 5
  • 2
  • if you are ok to use other than matplotlib then use [plotty](https://plot.ly/python/gantt/). – sahasrara62 Dec 21 '18 at 22:15
  • Possible duplicate of [How to plot stacked event duration (Gantt Charts) using Python Pandas?](https://stackoverflow.com/questions/31820578/how-to-plot-stacked-event-duration-gantt-charts-using-python-pandas) – Jack Moody Dec 22 '18 at 04:46
  • i am looking for subplots like attached screen shot(edited my question), i generated that using R but i am trying to create it in python – ulab Dec 23 '18 at 00:22

0 Answers0