d2

d2

terrastruct

D2 is a modern diagram scripting language that turns text to diagrams.

20.7k Stars
544 Forks
20.7k Watchers
JavaScript Language
mpl-2.0 License
Cost to Build
$14.52M
Market Value
$76.60M

Growth over time

3 data points  ·  2023-03-01 → 2025-06-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about d2

Question copied to clipboard

What is the terrastruct/d2 GitHub project? Description: "D2 is a modern diagram scripting language that turns text to diagrams.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone d2

Clone via HTTPS

git clone https://github.com/terrastruct/d2.git

Clone via SSH

[email protected]:terrastruct/d2.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the d2 issue tracker:

Open GitHub Issues