d2lang
D2 Joined Nov 2025 View on GitHub
- Stars
- 27,685
- across 17 public repos
- Rank
- #1,304
- of 94,827 organizations, top 2%
Repositories with 50+ stars
| Rank | Repository | Language | Stars |
|---|---|---|---|
| 1,632 | D2 is a modern diagram scripting language that turns text to diagrams. | Go | 25,821 |
| 112,680 | Compare syntax, layouts, outputs between languages for generating diagrams with text. | TypeScript | 563 |
| 179,964 | VSCode extension for D2 files. | TypeScript | 332 |
| 185,241 | The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams. | TypeScript | 321 |
| 200,437 | Language documentation and blog for D2. | D2 | 293 |
| 315,976 | The Vim plugin for D2 files | Vim Script | 170 |
| 398,359 | An online runner to play, learn, and create with D2, the modern diagram scripting language that turns text to diagrams. | JavaScript | 128 |
Among 94,827 organizations
25k–40k stars: 673 organizations, including d2lang
top 50%top 10%top 1%top 0.1%
Stars along the bottom, and organizations in each band on a log scale
Where the stars are
Languages
- Go 25.8k stars, 93% · 1 repo
- TypeScript 1.2k stars, 4% · 3 repos
- D2 293 stars, 1% · 1 repo
- Vim Script 170 stars, 1% · 1 repo
- JavaScript 128 stars, <1% · 1 repo
When they were made
7 repos with 50+ stars, made in 2022
1001k10k100k d2-vscodetext-to-diagram-sited2
Quick stats
- Next rank
- +9 stars to reach #1,303
- Next milestone
- +7,309 stars to reach the top 1%
- Public repos
- 17, 7 with 50+ stars
- Popular repos
- 1 over 1k stars, 1 over 10k stars
- Top repo
- d2, #1,632 of all repos, 93% of stars
- Smaller repos
- 57 stars from repos under 50