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
The Quartering
2 hours agoTrump Snub Backfires, Matt Walsh Sounds The Alarm, Candace Owens Theory On Charlie Kirk
12,355 watching -
DeVory Darkins
2 hours ago $4.47 earnedDemocrat Candidate leaves crowd DUMBFOUNDED as Trump scores MAJOR VICTORY
17.7K10 -
LIVE
Dr Disrespect
5 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - THE WAR BEGINS | BF6 LAUNCH DAY
2,204 watching -
Sean Unpaved
2 hours agoTNF Shocker: Giants Stomp Eagles, Cubs Claw a Game 5, Weekend NFL/CFB Best Bets!
4.33K -
1:25:05
HotZone
6 hours ago $0.11 earned5 Signs Terrorists are Plotting a Massive US Strike
622 -
1:05:42
Dear America
2 hours agoShould Christians Celebrate Halloween?
5.07K3 -
2:03:24
The Culture War with Tim Pool
3 hours agoAntifa Is A Terror Organization, Crackdown Coming As Leftists Defend Violence | The Culture War
134K118 -
28:39
Afshin Rattansi's Going Underground
5 days agoThe Trump Plan to Save US Economic Hegemony You Haven’t Heard Of (Jim Rickards)
6.8K2 -
LIVE
Lara Logan
15 hours agoROSEANNE UNLEASHED: Bolder Than Ever, Plus an Exclusive Peak at Her New Show | Roseanne Barr | Ep 39
564 watching -
1:14:27
Steven Crowder
5 hours agoTrump Gets Screwed out of Nobel Prize - And They're Actually Thrilled About It
187K263