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!
-
LIVE
Jeff Ahern
1 hour agoThe Saturday Show with Jeff Ahern
11,350 watching -
LIVE
Film Threat
3 hours agoLIVE FROM SAN DIEGO COMIC-CON! (Saturday) | Film Threat Live
260 watching -
31:40
Tactical Advisor
1 hour agoEveryone Talks About This AR15 Being The Best? | Vault Room Live Stream 034
44K3 -
1:08:53
Michael Franzese
15 hours agoHollywood Deaths & Political Secrets: A Nation at a Crossroads?
140K84 -
9:27
MattMorseTV
23 hours ago $13.48 earnedHe just lost EVERYTHING.
48.1K62 -
1:40:30
I_Came_With_Fire_Podcast
14 hours agoPrivate Military Contractors Are TRAFFICKING KIDS Around The United States
29.5K19 -
LIVE
JdaDelete
15 hours ago $2.64 earnedFinal Fantasy VII Rebirth | Jdub's Journey Part 8 - Corel Prison
182 watching -
2:39:09
LFA TV
20 hours agoTHE ARK ENCOUNTER LIVE EVENT! 7.26.25 9AM EST-12PM EST
207K26 -
3:20:34
Sgt Wilky Plays
5 hours agoTherapeutics with Dr Kong
21.1K1 -
1:10:23
Man in America
1 day agoAre MK-Ultra Parasites Rewiring Your Brain? | Detoxing, Peptides & Parasite Warfare w/ Diane Kazer
49.7K61