# JavaScript gantt chart libraries

JavaScript gantt chart libraries draw project schedules as horizontal task bars on a timeline. Each bar spans a task's start and end dates, while links between bars show the dependencies between tasks. These libraries build the project plans, release schedules, and resource timelines in project management tools.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [Mermaid](#mermaid) | 98.9M | 91.2K | Nov 2026 | MIT |
| [Highcharts Gantt](#highcharts) | 13.5M | 241 | Sep 2026 | https://www.highcharts.com/license |
| [@amcharts/amcharts5](#amcharts-amchartsfive) | 1.9M | 451 | Nov 2026 | SEE LICENSE IN LICENSE |
| [Frappe Gantt](#frappe-gantt) | 1.7M | 6.2K | Feb 2026 | MIT |
| [@svar-ui/react-gantt](#svar-react-gantt) | 554.7K | 219 | Nov 2026 | MIT |
| [gantt-task-react](#gantt-task-react) | 256.8K | 1.1K | Jul 2022 | MIT |
| [@syncfusion/ej2-gantt](#syncfusion-ejtwo-gantt) | 231.2K | 450 | Nov 2026 | SEE LICENSE IN license |
| [DHTMLX Gantt](#dhtmlx-gantt-community) | 211.4K | 1.9K | Sep 2026 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[Mermaid](#mermaid) has the most monthly downloads in this comparison, at 98.9M, a count that covers all of its diagram types.

## Capabilities

| Library | Task date dragging | Collapsible task groups |
| --- | --- | --- |
| [Mermaid](#mermaid) | No | No |
| [Highcharts Gantt](#highcharts) | Yes | Yes |
| [@amcharts/amcharts5](#amcharts-amchartsfive) | Yes | Yes |
| [Frappe Gantt](#frappe-gantt) | Yes | No |
| [@svar-ui/react-gantt](#svar-react-gantt) | Yes | Yes |
| [gantt-task-react](#gantt-task-react) | Yes | Yes |
| [@syncfusion/ej2-gantt](#syncfusion-ejtwo-gantt) | Yes | Yes |
| [DHTMLX Gantt](#dhtmlx-gantt-community) | Yes | Yes |

## Libraries

### Mermaid

[GitHub](https://github.com/mermaid-js/mermaid) · [npm](https://www.npmjs.com/package/mermaid) · [Docs](https://mermaid.js.org/syntax/gantt.html)

Generates gantt charts and other diagrams from a Markdown-like text syntax.

- Downloads / mo: 98.9M
- Stars: 91.2K
- Last release: 12.3.0
- License: MIT
- Capabilities: [From the Mermaid docs](https://mermaid.js.org/syntax/gantt.html)

**Strengths**

- **Exports SVG, PNG, or Markdown.** Render a schedule as SVG, PNG, or a Markdown link for docs.

**Watch out for**

- **Excluded dates stretch tasks.** Excluding a date extends the task to the right instead of leaving a gap.

```sh
npm install mermaid
```

**yuzutech/kroki** (4.4K stars)

[yuzutech/kroki](https://github.com/yuzutech/kroki) 

```javascript
async (definition, mermaidConfig) => {
          window.mermaid.initialize(mermaidConfig)
          try {
            let { svg } = await window.mermaid.render('container', definition)
            // workaround: https://github.com/yuzutech/kroki/issues/1632
            // upstream issue: https://github.com/mermaid-js/mermaid/issues/1766
            // taken from: https://github.com/mermaid-js/mermaid-live-editor/blob/83382901cd7e15414b6f18b48b7dd9c4775f3a21/src/lib/components/Actions.svelte#L23-L26
            svg = svg
              .replaceAll('<br>', '<br/>')
              .replaceAll(/<img([^>]*)>/g, (_m, g) => `<img ${g} />`)
            return { svg, error: null }
          } catch (err) {
            return {
              svg: null,
              error: {
                name: 'name' in err && err.name,
                message: 'message' in err && err.message,
                stack: 'stack' in err && err.stack
              }
            }
          }
        }

```

[mermaid/src/worker.js](https://github.com/yuzutech/kroki/blob/95656d6be1e9beb1e628bec4a9051b5ad7d90b44/mermaid/src/worker.js#L121-L142) · [More projects using Mermaid →](https://dashboard.exa.ai/playground/search?q=mermaid%20GitHub%20projects)

**Quickstart**

```javascript
<script type="module">
  import mermaid from './mermaid.esm.mjs';
  mermaid.initialize({ startOnLoad: false });

  // Example of using the render function
  const drawDiagram = async function () {
    element = document.querySelector('#graphDiv');
    const graphDefinition = 'graph TB\na-->b';
    const { svg } = await mermaid.render('graphDiv', graphDefinition);
    element.innerHTML = svg;
  };

  await drawDiagram();
</script>

```

From [usage.html](https://mermaid.js.org/config/usage.html)

### Highcharts Gantt

[GitHub](https://github.com/highcharts/highcharts-dist) · [npm](https://www.npmjs.com/package/highcharts) · [Docs](https://www.highcharts.com/docs/gantt/getting-started-gantt)

Draws project tasks, their time intervals, and their dependencies as a Gantt chart.

- Downloads / mo: 13.5M
- Stars: 241
- Last release: 13.1.1
- License: https://www.highcharts.com/license
- Capabilities: [From the Highcharts Gantt docs](https://www.highcharts.com/docs/gantt/getting-started-gantt)

**Strengths**

- **Loads alone or as a module.** Load Highcharts Gantt standalone or as a module next to Highcharts.
- **Collapses subtask groups.** Point each subtask's parent property at a parent task to group it.

```sh
npm install highcharts
```

**Quickstart**

```javascript
<script src="https://code.highcharts.com/gantt/highcharts-gantt.js"></script>
// THE CHART
Highcharts.ganttChart('container', {
    title: {
        text: 'Gantt Chart with Progress Indicators',
        align: 'left'
    },

    xAxis: {
        min: '2014-11-17',
        max: '2014-11-30'
    },

    accessibility: {
        point: {
            descriptionFormat: '{yCategory}. ' +
                '{#if completed}Task {(multiply completed.amount 100):.1f}% ' +
                'completed. {/if}' +
                'Start {x:%Y-%m-%d}, end {x2:%Y-%m-%d}.'
        }
    },

    lang: {
        accessibility: {
            axis: {
                xAxisDescriptionPlural: 'The chart has a two-part X axis ' +
                    'showing time in both week numbers and days.'
            }
        }
    },

    series: [{
        name: 'Project 1',
        data: [{
            name: 'Start prototype',
            start: '2014-11-18',
            end: '2014-11-25',
            completed: {
                amount: 0.25
            }
        }, {
            name: 'Test prototype',
            start: '2014-11-27',
            end: '2014-11-29'
        }, {
            name: 'Develop',
            start: '2014-11-20',
            end: '2014-11-25',
            completed: {
                amount: 0.12,
                fill: '#fa0'
            }
        }, {
            name: 'Run acceptance tests',
            start: '2014-11-23',
            end: '2014-11-26'
        }]
    }]
});

```

From [demo.js](https://api.github.com/repos/highcharts/highcharts/contents/samples/gantt/demo/progress-indicator/demo.js) · [Find projects using Highcharts Gantt →](https://dashboard.exa.ai/playground/search?q=highcharts%20GitHub%20projects)

### @amcharts/amcharts5

[GitHub](https://github.com/amcharts/amcharts5) · [npm](https://www.npmjs.com/package/@amcharts/amcharts5) · [Docs](https://www.amcharts.com/docs/v5/charts/gantt/)

Draws Gantt charts alongside XY, pie, map, stock, and other charts, on canvas or as SVG.

- Downloads / mo: 1.9M
- Stars: 451
- Last release: 5.22.0
- License: SEE LICENSE IN LICENSE
- Capabilities: [From the @amcharts/amcharts5 docs](https://www.amcharts.com/docs/v5/charts/gantt/)

**Strengths**

- **Shows dependencies and progress.** Bars show each task's timeline, dependencies, and progress.

**Watch out for**

- **Needs an extra plugin.** Include the external Color Picker plugin along with the chart modules.

```sh
npm install @amcharts/amcharts5
```

**Quickstart**

```javascript
import * as am5 from "@amcharts/amcharts5";
import * as am5gantt from "@amcharts/amcharts5/gantt";
const root = am5.Root.new("chartdiv");
const gantt = root.container.children.push(am5gantt.Gantt.new(root, {}));

```

From [Gantt chart docs](https://www.amcharts.com/docs/v5/charts/gantt/) · [Find projects using @amcharts/amcharts5 →](https://dashboard.exa.ai/playground/search?q=%40amcharts/amcharts5%20GitHub%20projects)

### Frappe Gantt

[GitHub](https://github.com/frappe/gantt) · [npm](https://www.npmjs.com/package/frappe-gantt) · [Docs](https://docs.frappe.io/gantt/introduction)

Provides configurable web Gantt charts for tasks, schedules, and dependencies.

- Downloads / mo: 1.7M
- Stars: 6.2K
- Last release: 1.2.2
- License: MIT
- Capabilities: [From the Frappe Gantt docs](https://docs.frappe.io/gantt/introduction)

**Strengths**

- **Customizes timeline views.** Configure built-in views or define time scales for the application.
- **Excludes holidays from progress calculations.** Ignore weekends and holidays when calculating task progress.

**Watch out for**

- **Date drags snap by default.** Change snap_at when users need finer date adjustments.

```sh
npm install frappe-gantt
```

**nextcloud/deck** (1.4K stars)

[nextcloud/deck](https://github.com/nextcloud/deck) 

```javascript
renderGantt() {
			if (!this.$refs.ganttContainer || this.ganttTasks.length === 0) {
				return
			}

			this.$refs.ganttContainer.innerHTML = ''

			this.ganttInstance = new Gantt(this.$refs.ganttContainer, this.ganttTasks, {
				view_modes: GANTT_VIEW_MODES,
				bar_height: 28,
				lower_header_height: 40,
				padding: 20,
				scroll_to: 'today',
				today_button: true,
				infinite_padding: false,
				readonly_progress: true,
				readonly: !this.canEdit,
				popup: false,
				on_date_change: (task) => {
					this.pendingChange = { task, start: task._start, end: task._end }
				},
			})

			this._patchBarPrototype()
			this.fitColumnsToWidth()
			this.ganttInstance.change_view_mode(this.ganttInstance.config.view_mode.name, true)
			this.ganttInstance.scroll_current()
		}

```

[src/components/board/GanttView.vue](https://github.com/nextcloud/deck/blob/2423d461d62d96d7ea2eabd282d8a065e4b15e68/src/components/board/GanttView.vue#L385-L412) · [More projects using Frappe Gantt →](https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20frappe-gantt%20for%20Gantt%20scheduling%20views%2C%20editable%20task%20dates%2C%20dependency%20links%20and%20project%20timelines&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```javascript
<script src="https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.umd.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.css">

let tasks = [
  {
    id: '1',
    name: 'Redesign website',
    start: '2016-12-28',
    end: '2016-12-31',
    progress: 20
  },
  ...
]
let gantt = new Gantt("#gantt", tasks);

```

From [index.html](https://docs.frappe.io/gantt/introduction)

### @svar-ui/react-gantt

[GitHub](https://github.com/svar-widgets/react-gantt) · [npm](https://www.npmjs.com/package/@svar-ui/react-gantt) · [Docs](https://api.github.com/repos/svar-widgets/react-gantt/contents/readme.md)

Provides a React Gantt component with editable tasks, dependencies, and custom time scales.

- Downloads / mo: 554.7K
- Stars: 219
- Last release: 2.8.3
- License: MIT
- Capabilities: [From the @svar-ui/react-gantt docs](https://api.github.com/repos/svar-widgets/react-gantt/contents/readme.md)

**Strengths**

- **Edits tasks directly.** Change tasks through the timeline or task edit form.
- **Shows nested subtasks.** Display a task hierarchy alongside the timeline.

**Watch out for**

- **Automation needs the Pro edition.** Use Pro for automatic scheduling and critical-path calculations.
- **File exports need Pro.** Choose Pro for PDF, PNG, and spreadsheet exports.

```sh
npm install @svar-ui/react-gantt
```

**Quickstart**

```javascript
import { Gantt } from '@svar-ui/react-gantt';
import '@svar-ui/react-gantt/all.css';

export default function MyComponent() {
  const tasks = [
    {
      id: 20,
      text: 'New Task',
      start: new Date(2024, 5, 11),
      end: new Date(2024, 6, 12),
      duration: 1,
      progress: 2,
      type: 'task',
      lazy: false,
    },
    {
      id: 47,
      text: '[1] Master project',
      start: new Date(2024, 5, 12),
      end: new Date(2024, 7, 12),
      duration: 8,
      progress: 0,
      parent: 0,
      type: 'summary',
    },
  ];

  return <Gantt tasks={tasks} />;
}

```

From [readme.md](https://api.github.com/repos/svar-widgets/react-gantt/contents/readme.md) · [Find projects using @svar-ui/react-gantt →](https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20%40svar-ui/react-gantt%20for%20Gantt%20scheduling%20views%2C%20editable%20task%20dates%2C%20dependency%20links%20and%20project%20timelines&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### gantt-task-react

[GitHub](https://github.com/MaTeMaTuK/gantt-task-react) · [npm](https://www.npmjs.com/package/gantt-task-react) · [Docs](https://raw.githubusercontent.com/MaTeMaTuK/gantt-task-react/main/README.md)

Renders an interactive Gantt chart as a React component written in TypeScript.

- Downloads / mo: 256.8K
- Stars: 1.1K
- Last release: 0.3.9
- License: MIT
- Capabilities: [From the gantt-task-react docs](https://raw.githubusercontent.com/MaTeMaTuK/gantt-task-react/main/README.md)

**Strengths**

- **Reports edits through callbacks.** Handle date, progress, and delete changes in callback props such as onDateChange.

```sh
npm install gantt-task-react
```

**Quickstart**

```javascript
import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react';
import "gantt-task-react/dist/index.css";
<Gantt tasks={tasks} />

```

From [README.md](https://raw.githubusercontent.com/MaTeMaTuK/gantt-task-react/main/README.md) · [Find projects using gantt-task-react →](https://dashboard.exa.ai/playground/search?q=gantt-task-react%20GitHub%20projects)

### @syncfusion/ej2-gantt

[GitHub](https://github.com/syncfusion/ej2-javascript-ui-controls) · [npm](https://www.npmjs.com/package/@syncfusion/ej2-gantt) · [Docs](https://ej2.syncfusion.com/javascript/documentation/gantt/es5-getting-started)

Provides Syncfusion's JavaScript Gantt chart control with draggable and resizable taskbars.

- Downloads / mo: 231.2K
- Stars: 450
- Last release: 35.2.12
- License: SEE LICENSE IN license
- Capabilities: [From the @syncfusion/ej2-gantt docs](https://ej2.syncfusion.com/javascript/documentation/gantt/es5-getting-started)

**Strengths**

- **Edits tasks on the timeline.** Set allowTaskbarEditing to drag dates, resize durations, and move progress grips.

```sh
npm install @syncfusion/ej2-gantt
```

**Quickstart**

```javascript
var ganttChart = new ej.gantt.Gantt({
        dataSource: [
            {
                TaskID: 1,
                TaskName: 'Project Initiation',
                StartDate: new Date('04/02/2019'),
                EndDate: new Date('04/21/2019'),
                subtasks: [
                    { TaskID: 2, TaskName: 'Identify Site location', StartDate: new Date('04/02/2019'), Duration: 4, Progress: 50 },
                    { TaskID: 3, TaskName: 'Perform Soil test', StartDate: new Date('04/02/2019'), Duration: 4, Progress: 50  },
                    { TaskID: 4, TaskName: 'Soil test approval', StartDate: new Date('04/02/2019'), Duration: 4, Progress: 50 },
                ]
            },
            {
                TaskID: 5,
                TaskName: 'Project Estimation',
                StartDate: new Date('04/02/2019'),
                EndDate: new Date('04/21/2019'),
                subtasks: [
                    { TaskID: 6, TaskName: 'Develop floor plan for estimation', StartDate: new Date('04/04/2019'), Duration: 3, Progress: 50 },
                    { TaskID: 7, TaskName: 'List materials', StartDate: new Date('04/04/2019'), Duration: 3, Progress: 50 },
                    { TaskID: 8, TaskName: 'Estimation approval', StartDate: new Date('04/04/2019'), Duration: 3, Progress: 50 }
                ]
            },
        ],
        height: '450px',
        taskFields: {
            id: 'TaskID',
            name: 'TaskName',
            startDate: 'StartDate',
            duration: 'Duration',
            progress: 'Progress',
            dependency: 'Predecessor',
            child: 'subtasks',
      }
});
ganttChart.appendTo('#Gantt');

```

From [Getting started docs](https://ej2.syncfusion.com/javascript/documentation/gantt/es5-getting-started) · [Find projects using @syncfusion/ej2-gantt →](https://dashboard.exa.ai/playground/search?q=%40syncfusion/ej2-gantt%20GitHub%20projects)

### DHTMLX Gantt

[GitHub](https://github.com/DHTMLX/gantt) · [npm](https://www.npmjs.com/package/dhtmlx-gantt) · [Docs](https://docs.dhtmlx.com/gantt/desktop__initializing_gantt_chart.html)

Provides a framework-independent Gantt chart with manual scheduling and task editing.

- Downloads / mo: 211.4K
- Stars: 1.9K
- Last release: 10.0.3
- License: MIT
- Capabilities: [From the DHTMLX Gantt docs](https://docs.dhtmlx.com/gantt/desktop__initializing_gantt_chart.html)

**Strengths**

- **Renders independent chart instances.** Use the Gantt factory for several charts on one page.
- **Edits dates through draggable bars.** Move tasks to reschedule and resize bars to change duration.

**Watch out for**

- **Advanced scheduling requires Pro.** Choose Pro for automatic scheduling, critical paths, and resource planning.
- **Export uses an online service.** Uses the DHTMLX online service for PDF and PNG exports.

```sh
npm install dhtmlx-gantt
```

**wekan/wekan** (21.2K stars)

[wekan/wekan](https://github.com/wekan/wekan) 

```javascript
function() {
  const templateInstance = this;

  loadDhtmlxGantt().then(gantt => {
    if (templateInstance.destroyed) return;
    templateInstance.ganttLoaded = true;
    templateInstance.autorun(() => {
      const board = Utils.getCurrentBoard();
      const container = templateInstance.find('.js-dhtmlx-gantt-container');
      if (!board || !container) return;
      const cards = Cards.find(
        { boardId: board._id },
        { sort: { startAt: 1, dueAt: 1 } },
      ).fetch();
      // #1618: and the board's dated checklist items, one day ending on their
      // due date, as "card: item" (models/lib/checklistItemSchedule.js).
      const { datedChecklistItems } = require('/models/lib/checklistItemSchedule');
      const itemTasks = datedChecklistItems(
        ReactiveCache.getChecklistItems({ boardId: board._id, dueAt: { $exists: true } }),
        id => ReactiveCache.getCard(id),
      ).map(item => ({ id: item.id, text: titleViewerHtml(item.title),
        start_date: addDays(toISODate(item.dueAt), -1), duration: 1, progress: item.isFinished ? 1 : 0,
        color: '#8e44ad', _cardId: item.cardId, _due: formatDate(item.dueAt) }));
      const tasks = [...cardsToTasks(cards), ...itemTasks];
      templateInstance.taskCount.set(tasks.length);
      gantt.clearAll();
      // Matches Kanboard's Gantt: dragging/resizing bars is gated on the
      // same board-write capability the rest of WeKan uses
      // (Utils.canModifyCard), not offered as a control that the server
      // would then refuse.
      gantt.config.readonly = !Utils.currentUserCan('write', board);
      // Month/weekday names on the time scale. dhtmlx only knows its own
      // bundled locales and defaults to English; dhtmlxLocaleFor uses the
      // bundled one when there is one for the current language and builds
      // the date names from Intl otherwise, so every WeKan language gets
      // them. Re-applied on each run so a language change takes effect.
      gantt.i18n.setLocale(dhtmlxLocaleFor(gantt, TAPi18n.getLanguage()));
      if (!tasks.length) return;
      if (!templateInstance.ganttInitialized) {
        gantt.config.date_format = '%Y-%m-%d %H:%i';
        // Editing a card's title/other fields happens on the card page, not
        // in a second edit surface here - the built-in double-click lightbox
        // is disabled so the Gantt's only interactions are click-to-open,
        // hover-for-details, and drag-to-reschedule.
        gantt.attachEvent('onBeforeLightbox', () => false);
        gantt.attachEvent('onTaskClick', id => {
          const clicked = gantt.isTaskExists(id) ? gantt.getTask(id) : null;
          const card = ReactiveCache.getCard((clicked && clicked._cardId) || id);
          if (!card) return true;
          const cardBoard = card.board();
          FlowRouter.go('card', {
            boardId: card.boardId,
            slug: (cardBoard && cardBoard.slug) || 'board',
            cardId: card._id,
          });
          return false;
        });
        // Dragging or resizing the bar is a normally-used Gantt feature;
        // persist it back to whichever card field the dragged edge actually
        // represents (see cardsToTasks's _startField/_endField), the same
        // card.setStart/setDue/setReceived/setEnd calls WeKan's Calendar
        // view already uses for its own drag-to-edit (boardBody.js
        // eventDrop/eventResize). onAfterTaskDrag (not the more generic
        // onAfterTaskUpdate, which also fires for the reactive re-render's
        // own gantt.parse() call and would otherwise write back on every
        // unrelated Cards change) fires only for an actual drag/resize.
        gantt.attachEvent('onAfterTaskDrag', (id, mode) => {
          if (mode === 'progress' || mode === 'ignore') return;
          // #1618: a checklist item moves only its own due date (its end).
          const { checklistItemIdOf } = require('/models/lib/checklistItemSchedule');
          const itemId = checklistItemIdOf(String(id));
          if (itemId) {
            const item = ReactiveCache.getChecklistItem(itemId);
            const dragged = gantt.getTask(id);
            if (item && dragged) item.setDue(dragged.end_date);
            return;
          }
          const card = ReactiveCache.getCard(id);
          const task = gantt.getTask(id);
          if (!card || !task) return;
          const end = gantt.calculateEndDate(task.start_date, task.duration);
          if (task._startField === 'receivedAt') card.setReceived(task.start_date);
          else card.setStart(task.start_date);
          if (task._endField === 'endAt') card.setEnd(end);
          else card.setDue(end);
        });
        gantt.templates.tooltip_text = (start, end, task) => tooltipHtml(task);
        gantt.init(container);
        templateInstance.ganttInitialized = true;
      }
      if (!templateInstance.nativeDateFormats) {
        templateInstance.nativeDateFormats = {
          scales: gantt.config.scales,
          date_grid: gantt.templates.date_grid,
          task_date: gantt.templates.task_date,
        };
      }
      if (dateDisplayPreferences().calendarSystem !== 'gregorian') {
        gantt.config.scales = [{ unit: 'day', step: 1, format: date => formatDateForDisplay(date, false) }];
        gantt.templates.date_grid = date => formatDateForDisplay(date, false);
        gantt.templates.task_date = date => formatDateForDisplay(date, false);
      } else {
        gantt.config.scales = templateInstance.nativeDateFormats.scales;
        gantt.templates.date_grid = templateInstance.nativeDateFormats.date_grid;
        gantt.templates.task_date = templateInstance.nativeDateFormats.task_date;
      }
      gantt.parse({ data: tasks, links: [] });
    });
  }).catch(error => {
    console.error('Could not load DHTMLX Gantt:', error);
  });
}

```

[client/components/gantt/dhtmlxGantt.js](https://github.com/wekan/wekan/blob/8eff8bb4429732e729e469f9c74e46cb8f681e05/client/components/gantt/dhtmlxGantt.js#L115-L226) · [More projects using DHTMLX Gantt →](https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20dhtmlx-gantt%20for%20Gantt%20scheduling%20views%2C%20editable%20task%20dates%2C%20dependency%20links%20and%20project%20timelines&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```javascript
<!DOCTYPE html><html><head>    <script src="codebase/dhtmlxgantt.js"></script>    <link href="codebase/dhtmlxgantt.css" rel="stylesheet"></head><body>    <div id="gantt_here" style='width:1000px; height:400px;'></div>    <script type="text/javascript">         gantt.init("gantt_here");                             </script></body></html>

```

From [README.md](https://docs.dhtmlx.com/gantt/desktop__initializing_gantt_chart.html)

## FAQ

### Which JavaScript gantt chart library should I use?

[Frappe Gantt](#frappe-gantt) fits a plain JavaScript app that needs draggable tasks and custom time scales. [SVAR React Gantt](#svar-react-gantt) and [gantt-task-react](#gantt-task-react) fit React apps, and [Mermaid](#mermaid) fits a schedule written as text in documentation.

### How do I make a gantt chart in Mermaid?

[Mermaid](#mermaid) reads a text block that starts with gantt and lists each task with its dates or duration. It renders the chart as SVG, PNG, or a Markdown link for docs.

### Which gantt chart libraries work with React?

[SVAR React Gantt](#svar-react-gantt) edits tasks through the timeline or a task form. [gantt-task-react](#gantt-task-react) reports date and progress changes through callback props.

### What is Frappe Gantt?

[Frappe Gantt](#frappe-gantt) is a JavaScript Gantt chart for tasks, schedules, and dependencies. Its Ignore Periods feature excludes weekends and holidays from task-progress calculations.

### Is there an open source gantt chart library?

[Frappe Gantt](#frappe-gantt), [Mermaid](#mermaid), [SVAR React Gantt](#svar-react-gantt), [gantt-task-react](#gantt-task-react), and the [DHTMLX Gantt](#dhtmlx-gantt-community) Community edition are MIT licensed. Highcharts Gantt, amCharts, and Syncfusion use their own license terms.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best JavaScript Gantt chart libraries Frappe Gantt DHTMLX JSGantt Improved SVAR React Gantt examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
