- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Visualizers
Mermaid Gantt Chart Editor
Plan a project as a timeline. Tasks, dependencies and milestones from a few lines of text.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Mermaid Live Editor
- Set a title and the date format, then group tasks into sections.
- Give each task a start date or "after" another task, and a length like 5d.
- Download SVG or PNG, copy the Markdown block, or copy a share link.
Frequently asked questions
How do I make a task start after another one?
Give the first task an id, like "Design :d1, 2026-01-05, 5d", and start the next one with "after d1", like "Build :after d1, 10d".
How do I add a milestone?
Use the milestone tag and a length of 0d, for example "Launch :milestone, after d3, 0d". It is drawn as a diamond.
Can I highlight critical tasks?
Yes. Add "crit" to the task, alone or with "done" or "active", like "Testing :crit, active, 4d".
Can the chart skip weekends?
Add "excludes weekends" (or specific dates) after the date format, and task lengths are counted in working days.
Syntax cheat sheet
| Code | What it does |
|---|---|
gantt | Start a Gantt chart |
dateFormat YYYY-MM-DD | How dates are written in the tasks |
section Build | A group of tasks |
Design :d1, 2026-01-05, 5d | A task with an id, a start date and a length |
Code :after d1, 10d | A task that starts when another ends |
done, active, crit | Task states: finished, in progress, critical |
Release :milestone, after d2, 0d | A milestone |
excludes weekends | Skip weekends when counting days |
Practice Python with coding challenges
Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.