📊 Draw a Project Gantt Chart With AI From a Task List in 10 Minutes

📊 Draw a Project Gantt Chart With AI From a Task List in 10 Minutes

📊 Draw a Project Gantt Chart With AI From a Task List in 10 Minutes

You will get a visual Gantt chart for your project: every task sits on its own timeline bar, so you can see at a glance what comes first, what comes next, and what is running late. The whole process takes about 10 minutes, with no project management software to install and no drawing skills needed. All you need is a free AI chat account and a browser.

🧰 What you need

  • Tool 1: ChatGPT (chat.openai.com) or Claude (claude.ai). The free plan of either one is enough for this.
  • Tool 2: Mermaid Live Editor, a free website that needs no sign in, used to turn the code the AI writes into an actual chart image.
  • Information to prepare first: your list of project tasks, how many days each task should take, and which task must finish before another one can start.

If you are new to Claude, you can also read what Claude AI is and how to start using it before following the steps below.

🪜 Step by step

Step 1: Describe your project and ask the AI for Mermaid gantt code. Start a new chat and paste the prompt below, replacing the bracketed parts with your own project details:

You are a project planning assistant. Based on the task list below,
write me a Mermaid "gantt" code block (starting with the line "gantt",
with dateFormat YYYY-MM-DD) so I can paste it into Mermaid Live Editor.

Project name: [Launch the new store website]
Project start date: [2026-12-01]

Tasks, grouped by phase:
Phase 1 - [Content preparation]:
- [Write product copy]: [3 days]
- [Take product photos]: [2 days], runs in parallel with the task above

Phase 2 - [Design and build]:
- [Design the layout]: [4 days], only starts after the copy is done
- [Build the website]: [5 days], only starts after the design is done

Phase 3 - [Launch]:
- [Test the website]: [2 days], after the build is done
- [Go live]: [1 day], after testing is done, this is the most important task

Return only the code block, no extra explanation.

Step 2: Copy exactly the code the AI returns, including the first line "gantt" and every "section" line. Do not copy any extra explanation text if the AI adds some.

Step 3: Open mermaid.live in your browser, no sign in needed. Paste the code you copied into the editor panel on the left, and the Gantt chart will appear right away on the right.

Step 4: Download the image to use. Open the "Actions" menu at the top, choose to export as PNG or SVG, and save the image file. You can drop this straight into a slide, a Word document, or send it over email or chat.

Step 5: When the plan changes, update the source, not the picture. Go back to the same chat from step 1 and tell the AI which task is finished, which one is late, or which one changed length. For example: "The product copy task is done, mark it as done. The design task is running late, it now needs 6 days instead of 4." The AI will give you new code, which you paste into mermaid.live for an updated chart.

✅ Sample result

For the website launch example in step 1, the AI usually returns code like this:

gantt
    dateFormat YYYY-MM-DD
    title Launch the new store website

    section Content preparation
    Write product copy :content1, 2026-12-01, 3d
    Take product photos :photo1, 2026-12-01, 2d

    section Design and build
    Design the layout :design1, after content1, 4d
    Build the website :build1, after design1, 5d

    section Launch
    Test the website :test1, after build1, 2d
    Go live :crit, launch1, after test1, 1d

Paste this into mermaid.live and you will see a chart with three rows matching the three phases, each task shown as a bar placed exactly where it falls in time. The "Go live" bar stands out in a different color (usually red) because it is marked "crit", meaning it is the task that needs the most attention.

💡 Tips for better results

  • Always give a specific start date (for example "starting December 1, 2026"), since the AI needs a real anchor date to compute the whole timeline; a vague "next week" will produce wrong dates.
  • Group tasks into clear phases (sections) like the example above; the chart stays readable instead of turning into one long row of tasks.
  • Mark truly critical tasks as "crit" so the chart highlights them in a different color, and mark finished tasks as "done" so the chart reflects real progress, not just the original plan.
  • If several people own different parts of the project, you can ask the AI to use each person's name as a section instead of grouping by phase.
  • When a project gets more complex than a single page, read using Claude to manage a project: timeline, progress tracking and risk spotting to see how AI can keep tracking progress over time, not just draw one static chart.

⚠️ Limits to know

  • The AI only gets the math right when your task description is clear. A vague description (missing durations, missing which task depends on which) produces a chart that looks good but is wrong. Always double check every start and end date before sending it to your manager or a client.
  • This is a planning drawing, not a full project management tool. If you need real time percent-complete tracking, assigning tasks to people, automatic deadline reminders, or several people editing the same plan at once, you still need a dedicated tool like Trello, Asana or Google Sheets.
  • If the project involves a client's name, a contract number, or other sensitive internal details, only describe tasks in general terms when pasting into the AI chat and into Mermaid Live Editor; there is no need to paste confidential information verbatim.
  • A Mermaid Live Editor chart cannot be edited by dragging bars with a mouse the way dedicated software allows. To change anything, you edit the code (or ask the AI to edit it) and paste it again.

❓ Frequently asked questions

Does the free plan of ChatGPT or Claude work for this? Yes. The AI's only job here is writing correct Mermaid code, and the free plan of either tool handles that fine, no paid upgrade needed.

Does Mermaid Live Editor need installing or signing in? No. It is a website that runs entirely in your browser, free, no account needed; paste the code and the image shows up right away.

Can this chart be embedded in Notion or a company document? Yes, in two ways. One is downloading the PNG or SVG image and inserting it like any other picture. The other is pasting the Mermaid code directly into Notion or GitHub, since both of those already know how to render it into a chart.

If my project has many people and tangled dependencies, will the AI still get it right? The AI writes correct Mermaid syntax, but it has no idea about the real situation at your company. The more complex the project, the more important it is to re-check the task order and durations before relying on the chart for a real report.

If I am not comfortable reading code, how else can I check the chart is right? The easiest way is comparing each bar on the chart against your original task list from step 1: same task name, same duration, same order, that is all you need, no need to fully understand Mermaid syntax.

#AI #ChatGPT #Claude #ProjectManagement #Productivity

More articles