> Display a Gantt Chart using Mermaid


A Gantt chart is a type of bar chart, that illustrates a project schedule and the amount of time it would take for any one project to finish. For a complete syntax guide, refer to the **[Mermaid documentation](https://mermaid.js.org/)**.

## Example

```mermaid
gantt
    title A Gantt Diagram
    dateFormat YYYY-MM-DD
    section Section
        A task          :a1, 2014-01-01, 30d
        Another task    :after a1, 20d
    section Another
        Task in Another :2014-01-12, 12d
        another task    :24d


```

**Code：**
~~~
```mermaid
gantt
    title A Gantt Diagram
    dateFormat YYYY-MM-DD
    section Section
        A task          :a1, 2014-01-01, 30d
        Another task    :after a1, 20d
    section Another
        Task in Another :2014-01-12, 12d
        another task    :24d

```
~~~

