ProjectDataGanttChart
Plots Gantt charts for datasets with project data
ResourceFunction["ProjectDataGanttChart"][ds] plots a Gantt chart for a project dataset ds. |
Details and Options
ResourceFunction["ProjectDataGanttChart"] takes all options of TimelinePlot.
ResourceFunction["ProjectDataGanttChart"] expects datasets with column names "Group","Project","StartDate","EndDate".
If the column "Group" is not provided, then the column "Group" is added with all of its values being a generic group name.
If the column "Project" is not provided, then the column "Project" is added populated with generic project names.
If ResourceFunction["ProjectDataGanttChart"] is given a numerical matrix with two columns, then that matrix is transformed into a dataset with columns "StartDate" and "EndDate".
Examples
Basic Examples (2)
Here is a dataset with project data:
In[1]:= |
Out[4]= |
Here is a Gantt chart:
In[5]:= |
Out[5]= |
Scope (1)
No project group
In[6]:= |
Out[8]= |
In[9]:= |
Out[9]= |
No project
In[10]:= |
Out[12]= |
In[13]:= |
Out[13]= |
Just dates schedule
In[14]:= |
Out[16]= |
In[17]:= |
Out[17]= |
With a matrix (1)
Make a random matrix with tow columns and plot the Gantt chart for it:
In[18]:= |
Out[19]= |
Options (2)
TimelinePlot options (2)
RandomTabularDataset takes all the options of TimelinePlot. Here is a project data dataset:
In[20]:= |
Out[22]= |
Here is a Gantt chart with additional options:
In[23]:= |
Out[23]= |
Applications (4)
Larger project data (4)
Here is a dataset with data for 64 projects:
In[24]:= |
Here is a dataset sample:
In[25]:= |
Out[26]= |
Here is a summary of the project data:
In[27]:= |
Out[27]= |
Here is the corresponding Gantt chart:
In[28]:= |
Out[28]= |
Related Links
- Gantt chart - Wikipedia
- The Gantt chart, a working tool of management: Clark, Wallace, 1880-1948: Free Download, Borrow, and Streaming: Internet Archive