Premium Only Content

How To Create a Gantt Chart Easily Using Code
So I recently had to make a Gantt chart and it look me longer than I care to say figuring out how to customize it and make it fancy AF. So to save someone else the headache I created this short video to highlight how to create a Gantt chart in Markdown using the Mermaid framework, this will work with other charts too but I specifically talk about a Gantt chart in this video.
As promised as well here is the code I used in this video, it should just be a matter of changing some elements to make it how you like. Not also that the theme needs to be kept as the base theme as it is the only editable theme:
```mermaid
%%{
init: {
"gantt": {
'topPadding' :100,
'rightPadding' :100,
'leftPadding' :100,
'barHeight' :50,
'fontSize' :17,
'titleTopMargin': 75,
'gridLineStartPadding' : 48,
'barGap' :10,
'sectionFontSize': 16
},
'theme': 'base',
'themeVariables': {
"fontFamily": 'Sans-Serif',
'primaryColor': '#bcc8ff',
'primaryTextColor': '#000',
'primaryBorderColor': '#2d2ac9',
'tertiaryColor': '#000',
'textColor':'#000',
'tertiaryTextColor': '#000'
}
}
}%%
%% https://mermaid.js.org/config/directives.html#declaring-directives
%% https://mermaid.js.org/config/schema-docs/config-defs-gantt-diagram-config.html#toppadding
%% color theme need opened with the high contrast light theme.
gantt
title changed title
dateFormat MM
axisFormat %B
section Task 1
Do Task 1 :task1, 01, 91d
section Task 2
Do Task 2 :task2, 02, 60d
section Task 3
create chart :task3, 05, 30d
If you enjoyed the video don't forget to SUBSCRIBE!
-
UPCOMING
Dear America
41 minutes agoElon Says He Will Start The “AMERICAN PARTY”?! HE’ S LOSING IT!! + Mass Deportations Have STARTED!!
1351 -
UPCOMING
Matt Kohrs
8 hours agoPowell Speech, Tesla Stock Crashes & Breaking News || Live Trading Options & Futures
8021 -
UPCOMING
Wendy Bell Radio
3 hours agoNever Bet Against Trump
1.96K8 -
LIVE
LFA TV
12 hours agoLFA TV ALL DAY STREAM - TUESDAY 7/1/25
9,423 watching -
LIVE
The Bubba Army
22 hours agoTrump vs Elon AGAIN? - Bubba the Love Sponge® Show | 7/01/25
2,469 watching -
LIVE
AP4Liberty
10 hours agoAmerica Already Has Govt Run Grocery Stores. Here's What They're Like....
305 watching -
17:55
DeVory Darkins
17 hours ago $3.42 earnedCNN surrenders to Trump with humiliation confession after HISTORIC MONTH
7.36K23 -
5:22
Blackstone Griddles
13 hours agoQuick and Easy Breakfast Burritos on the Blackstone Griddle
8.52K1 -
10:36
Dr. Nick Zyrowski
14 days agoThe BIG Creatine Mistake
15.5K1 -
8:49
Adam Does Movies
21 hours ago $0.98 earnedF1 - Movie Review
11.6K1