What are gantt charts how to make them in plotly?

This recipe explains what are gantt charts how to make them in plotly

Recipe Objective

What are gantt charts how to make them in plotly?

Gantt charts these charts are parallel to bar chart that delineates a project schedule. In this the time intervals are performed on horizontal axis whereas the tasks are performed on vertical axis. In the graph the horizontal bar width shows the toleration of both the activity. These charts are made of various parameters, in which the main 8 are:

Resources assigned dependencies Milestones Bars Progress Date line Time line Task list

Step 1 - Import library

import plotly.figure_factory as pff

Step 2 - Take a Sample data

Sample_data = [dict(Task="Column_01", Start='2019-02-01', Finish='2008-03-02'), dict(Task="Column_2", Start='2019-04-01', Finish='2019-12-11'), dict(Task="Column_3", Start='2019-07-06', Finish='2019-08-21')]

Step 3 - Plot graph

fig = pff.create_gantt(Sample_data) fig.show()

What Users are saying..

profile image

Gautam Vermani

Data Consultant at Confidential
linkedin profile url

Having worked in the field of Data Science, I wanted to explore how I can implement projects in other domains, So I thought of connecting with ProjectPro. A project that helped me absorb this topic... Read More

Relevant Projects

Mastering A/B Testing: A Practical Guide for Production
In this A/B Testing for Machine Learning Project, you will gain hands-on experience in conducting A/B tests, analyzing statistical significance, and understanding the challenges of building a solution for A/B testing in a production environment.

Loan Eligibility Prediction in Python using H2O.ai
In this loan prediction project you will build predictive models in Python using H2O.ai to predict if an applicant is able to repay the loan or not.

AWS MLOps Project for ARCH and GARCH Time Series Models
Build and deploy ARCH and GARCH time series forecasting models in Python on AWS .

MLOps Project for a Mask R-CNN on GCP using uWSGI Flask
MLOps on GCP - Solved end-to-end MLOps Project to deploy a Mask RCNN Model for Image Segmentation as a Web Application using uWSGI Flask, Docker, and TensorFlow.

Build Deep Autoencoders Model for Anomaly Detection in Python
In this deep learning project , you will build and deploy a deep autoencoders model using Flask.

Multi-Class Text Classification with Deep Learning using BERT
In this deep learning project, you will implement one of the most popular state of the art Transformer models, BERT for Multi-Class Text Classification

Customer Churn Prediction Analysis using Ensemble Techniques
In this machine learning churn project, we implement a churn prediction model in python using ensemble techniques.

Build an End-to-End AWS SageMaker Classification Model
MLOps on AWS SageMaker -Learn to Build an End-to-End Classification Model on SageMaker to predict a patient’s cause of death.

Build Customer Propensity to Purchase Model in Python
In this machine learning project, you will learn to build a machine learning model to estimate customer propensity to purchase.

Azure Deep Learning-Deploy RNN CNN models for TimeSeries
In this Azure MLOps Project, you will learn to perform docker-based deployment of RNN and CNN Models for Time Series Forecasting on Azure Cloud.