# D2 vs Markmap

## Key differences

- D2 has 1.9× as many GitHub stars as Markmap (25.6K vs 13.1K).
- D2 had more development activity over the last 12 months: 324 commits vs 4.
- D2 is licensed under MPL-2.0; Markmap under MIT.
- D2 is written primarily in Go, Markmap in TypeScript.
- Markmap is the older project: its repository was created in 2020, D2's in 2022.

| | D2 | Markmap |
|---|---|---|
| Description | Declarative diagram scripting language that turns text into diagrams. | Builds interactive mind maps from Markdown. |
| GitHub stars | 25,564 | 13,147 |
| Commits (12 months) | 324 | 4 |
| Contributors | 65 | 12 |
| License | MPL-2.0 | MIT |
| Language | Go | TypeScript |
| Status | Active | Active |
| Install | `go get github.com/d2lang/d2` | `npm install markmap-lib` |

Source: https://awesomedataviz.com/compare/d2-vs-markmap/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
