Create an Advanced Gantt Chart in Python

How to generate a Gantt Chart which contains additional details like Departments, Percentage Completion etc.

Abhijith Chandradas
Geek Culture

--

Introduction

This is the second part of visualizing Gantt Chart using python. Check this article in which steps for creating a basic Gantt Chart are explained in detail.

The basic Gantt Chart contains bars corresponding to every task of the project. In this article we will improve upon the basic Gantt Chart including details like completion status and sub-category for each task.

Recap

Preparation of a basic Gantt chart can be summed up in the following steps.

Step 1: Read data
Step 2: Convert dates to datetime format
Step 3: Add Duration
Step 4: Add relative date
Step 5: Create custom x-ticks and x-tick labels
Step 6: Create horizontal bar-graph with y=task, left=Duration and left=relative start date; invert y-axis

Prepare a Basic Gantt Chart

--

--

Abhijith Chandradas
Geek Culture

Data Analyst | Hacker | Financial Analyst | Freelancer | IIM MBA | Opensource | Democratize Knowledge | https://www.youtube.com/channel/UCLpBd4gzfIBXm2BPpdHOWdQ