qmetrics.net
D2Modern diagram scripting language from text InkscapeFree vector graphics editor for SVG illustration work

D2 vs Inkscape

How D2 and Inkscape compare on popularity, activity, license and platforms: two open-source Diagrams & Data Visualization projects, both alternatives to Google Drawings.

At a glance

Side by side

D2Inkscape
GitHub stars★ 26,029 +114 in 9 days★ 4,180 +0 in 10 days
Forks7972,091
Last committodaytoday
Latest versionv0.10.1INKSCAPE_1_4
Repository startedSeptember 2022June 2017
LicenseMPL-2.0 · weak copyleftGPL-2.0 · copyleft
Self-hostedDesktop/CLI appDesktop/CLI app
PlatformsLinux, macOS, Windows, CLI–
Main languageGo–
Alternative toGoogle DrawingsAdobe Illustrator, Canva, CorelDRAW, Google Drawings

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.

D2

D2 turns text descriptions into diagrams through a declarative language. The usual workflow runs a CLI that reads .d2 files and exports vector or raster output.

Key features

  • Text-to-diagram declarative syntax
  • CLI with watch and live reload
  • Multiple layout engines
  • SVG, PNG, PDF, and PPTX export
  • Official themes and sketch mode
  • VSCode and Vim extensions

Inkscape

Inkscape is a free vector graphics editor for artistic and technical illustrations such as logos, typography, clip art, diagrams, and flowcharts.

Key features

  • SVG as primary document format
  • Paths, shapes, text, and layers
  • Gradients, transforms, and grouping
  • Node editing and path operations
  • Text-on-path and SVG XML editing
  • Import EPS, PNG, JPEG, and more

More comparisons

Report a mistake on this page