Gantt chart

Plan a project in a Gantt chart (timeline): a calendar that adapts to the span, activity bars, milestones, events and the time elapsed so far.

React
import { GanttChart } from 'boardplot/react/gantt';
Use for
Project plan with milestones · Rollout by workstream · Campaign calendar
Not for
Steps without dates; gantt places spans and events on a calendar.

Transformation program with status

Gantt chart at months scale from 1 Jan 2026 to 31 Dec 2026. Diagnostic 5 Jan 2026 – 13 Mar 2026; Interviews 19 Jan 2026 – 27 Feb 2026; Concept design 2 Mar 2026 – 26 Jun 2026; Pilots 4 May 2026 – 30 Oct 2026; Rollout 7 Sep 2026 – 18 Dec 2026; Governance 5 Jan 2026 – 21 Dec 2026; Shared milestones SC1 23 Feb 2026, SC2 29 Jun 2026. Rollout decision moves to September after pilot read-out Acme Corp · Transformation program · FY26 Source: PMO plan of record, June 2026 Q1 2026 Q2 2026 Q3 2026 Q4 2026 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Owner Status Today, 3 Jul 2026 Concept design Diagnostic Interviews Governance Pilots Rollout Board cadence H1 Design In progress Operations Done Delivery At risk Team Delayed SC2 · 29 Jun SC1 · 23 Feb Project end · 21 Dec Wave 1 Baseline Wave 2

Gantt chart of a FY26 transformation program with owner and status columns, bars colored by status, a today line on 3 Jul and steering milestones SC1 and SC2.

Download SVG Fixture IDtransformation-program
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "gantt",
  "data": {
    "rows": [
      {
        "id": "diag",
        "label": "Diagnostic",
        "cols": [
          "Operations",
          {
            "text": "Done",
            "tone": "good"
          }
        ],
        "items": [
          {
            "id": "diag-base",
            "kind": "bar",
            "start": "2026-01-05",
            "end": "2026-03-13",
            "label": "Baseline"
          },
          {
            "id": "sc1",
            "kind": "milestone",
            "start": "2026-02-23",
            "label": "SC1",
            "scope": "shared"
          }
        ]
      },
      {
        "id": "diag-int",
        "label": "Interviews",
        "indent": 1,
        "items": [
          {
            "id": "interviews",
            "kind": "bar",
            "start": "2026-01-19",
            "end": "2026-02-27"
          }
        ]
      },
      {
        "id": "design",
        "label": "Concept design",
        "cols": [
          "Design",
          {
            "text": "In progress",
            "tone": "neutral"
          }
        ],
        "items": [
          {
            "id": "design-bar",
            "kind": "bar",
            "start": "2026-03-02",
            "end": "2026-06-26"
          },
          {
            "id": "sc2",
            "kind": "milestone",
            "start": "2026-06-29",
            "label": "SC2",
            "scope": "shared"
          }
        ]
      },
      {
        "id": "pilots",
        "label": "Pilots",
        "indent": 1,
        "cols": [
          "Delivery",
          {
            "text": "At risk",
            "tone": "warn"
          }
        ],
        "items": [
          {
            "id": "wave1",
            "kind": "bar",
            "start": "2026-05-04",
            "end": "2026-08-28",
            "label": "Wave 1"
          },
          {
            "id": "wave2",
            "kind": "chevron",
            "start": "2026-09-01",
            "end": "2026-10-30",
            "label": "Wave 2"
          }
        ]
      },
      {
        "id": "rollout",
        "label": "Rollout",
        "cols": [
          "Team",
          {
            "text": "Delayed",
            "tone": "bad"
          }
        ],
        "items": [
          {
            "id": "rollout-chev",
            "kind": "chevron",
            "start": "2026-09-07",
            "end": "2026-12-18"
          }
        ]
      },
      {
        "id": "gov",
        "label": "Governance",
        "items": [
          {
            "id": "gov-shade",
            "kind": "shade",
            "start": "2026-01-05",
            "end": "2026-06-26"
          },
          {
            "id": "gov-h1",
            "kind": "bracket",
            "start": "2026-01-05",
            "end": "2026-06-26",
            "label": "Board cadence H1"
          },
          {
            "id": "end",
            "kind": "milestone",
            "start": "2026-12-21",
            "label": "Project end"
          }
        ]
      }
    ]
  },
  "options": {
    "title": "Rollout decision moves to September after pilot read-out",
    "subtitle": {
      "company": "Acme Corp",
      "measure": "Transformation program",
      "period": "FY26"
    },
    "source": "PMO plan of record, June 2026",
    "today": "2026-07-03",
    "rowTint": true,
    "colHeaders": [
      "Owner",
      "Status"
    ],
    "size": {
      "width": 1000
    }
  }
}

Product launch plan with go-live

Gantt chart at weeks scale from 6 Apr 2026 to 5 Jul 2026. Preparation 6 Apr 2026 – 17 Apr 2026; Build 20 Apr 2026 – 22 May 2026; Test & QA 25 May 2026 – 12 Jun 2026; Launch 15 Jun 2026 – 3 Jul 2026. Go-live lands mid-June with two weeks of hypercare Launch plan · Q2 2026 Source: Illustrative launch plan; each phase is anchored to the one before it Workstream After go-live Weekend Apr 2026 May 2026 Jun 2026 Jul W15 W16 W17 W18 W19 W20 W21 W22 W23 W24 W25 W26 W27 Owner Today, 6 May 2026 Build Launch Preparation Test & QA Eng GTM PM QA Go live · 15 Jun Build QA cycles Hypercare Scoping

Gantt chart with four launch phases, from scope definition in April to support after launch in late June. A line marks 6 May as today, a milestone marks the launch on 15 June, and columns show weeks.

Download SVG Fixture IDproduct-launch
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "gantt",
  "data": {
    "rows": [
      {
        "id": "prep",
        "label": "Preparation",
        "cols": [
          "PM"
        ],
        "items": [
          {
            "id": "prep-scope",
            "kind": "bar",
            "start": "2026-04-06",
            "end": "2026-04-17",
            "label": "Scoping"
          }
        ]
      },
      {
        "id": "build",
        "label": "Build",
        "cols": [
          "Eng"
        ],
        "items": [
          {
            "id": "build-dev",
            "kind": "bar",
            "start": "2026-04-20",
            "end": "2026-05-22",
            "label": "Build",
            "anchor": {
              "toItemId": "prep-scope",
              "edge": "end",
              "offsetDays": 2
            }
          }
        ]
      },
      {
        "id": "test",
        "label": "Test & QA",
        "cols": [
          "QA"
        ],
        "items": [
          {
            "id": "test-qa",
            "kind": "bar",
            "start": "2026-05-25",
            "end": "2026-06-12",
            "label": "QA cycles",
            "anchor": {
              "toItemId": "build-dev",
              "edge": "end",
              "offsetDays": 2
            }
          }
        ]
      },
      {
        "id": "launch",
        "label": "Launch",
        "cols": [
          "GTM"
        ],
        "items": [
          {
            "id": "launch-go",
            "kind": "milestone",
            "start": "2026-06-15",
            "label": "Go live",
            "anchor": {
              "toItemId": "test-qa",
              "edge": "end",
              "offsetDays": 2
            }
          },
          {
            "id": "hypercare",
            "kind": "chevron",
            "start": "2026-06-17",
            "end": "2026-07-03",
            "label": "Hypercare",
            "colorRole": "neutralLight",
            "colorLabel": "After go-live",
            "anchor": {
              "toItemId": "launch-go",
              "edge": "end",
              "offsetDays": 1
            }
          }
        ]
      }
    ]
  },
  "options": {
    "title": "Go-live lands mid-June with two weeks of hypercare",
    "subtitle": {
      "measure": "Launch plan",
      "period": "Q2 2026"
    },
    "colHeaders": [
      "Owner"
    ],
    "source": "Illustrative launch plan; each phase is anchored to the one before it",
    "today": "2026-05-06",
    "weekends": true,
    "rowTint": true,
    "theme": {
      "preset": "boardroom",
      "overrides": {
        "surface": {
          "ganttRowTint": 0.25
        }
      }
    },
    "size": {
      "width": 1000
    }
  }
}

Delivery plan with owner and due date

Gantt chart at weeks scale from 3 Aug 2026 to 13 Sep 2026. Confirm scope 3 Aug 2026 – 14 Aug 2026; Run pilot 17 Aug 2026 – 28 Aug 2026; Launch 31 Aug 2026 – 11 Sep 2026. Delivery work moves from scope through pilot to launch Source: Illustrative delivery plan Aug 2026 Sep 2026 W32 W33 W34 W35 W36 W37 Owner Due date Launch Run pilot Confirm scope Delivery 11 Sep Operations 28 Aug Product 14 Aug

Gantt chart with three delivery rows (confirm scope, run pilot, launch), each with an owner and due date column, running from August to September.

Download SVG Fixture IDmetadata-column-headers
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "gantt",
  "data": {
    "rows": [
      {
        "id": "scope",
        "label": "Confirm scope",
        "cols": [
          "Product",
          "14 Aug"
        ],
        "items": [
          {
            "id": "scope-work",
            "kind": "bar",
            "start": "2026-08-03",
            "end": "2026-08-14",
            "colorRole": "highlight"
          }
        ]
      },
      {
        "id": "pilot",
        "label": "Run pilot",
        "cols": [
          "Operations",
          "28 Aug"
        ],
        "items": [
          {
            "id": "pilot-work",
            "kind": "bar",
            "start": "2026-08-17",
            "end": "2026-08-28",
            "colorRole": "highlight"
          }
        ]
      },
      {
        "id": "launch",
        "label": "Launch",
        "cols": [
          "Delivery",
          "11 Sep"
        ],
        "items": [
          {
            "id": "launch-work",
            "kind": "bar",
            "start": "2026-08-31",
            "end": "2026-09-11",
            "colorRole": "highlight"
          }
        ]
      }
    ]
  },
  "options": {
    "title": "Delivery work moves from scope through pilot to launch",
    "colHeaders": [
      "Owner",
      "Due date"
    ],
    "rowTint": true,
    "source": "Illustrative delivery plan",
    "size": {
      "width": 1000
    }
  }
}

Minimal spec

Save this spec as gantt.json and run the command.

{
  "type": "gantt",
  "data": {
    "rows": [
      {
        "id": "design",
        "label": "Design",
        "items": [{ "id": "design-bar", "kind": "bar", "start": "2026-04-01", "end": "2026-04-10" }]
      },
      {
        "id": "launch",
        "label": "Launch",
        "items": [{ "id": "launch-date", "kind": "milestone", "start": "2026-04-15" }]
      }
    ]
  },
  "options": { "title": "Design ends five days before launch", "source": "Illustrative data" }
}
npx boardplot render gantt.json --out gantt.svg