Google AI ModeAug 15, 2026
D2 : A modern text-to-diagram language that turns clean declarative text into beautifully styled, professional diagrams
Data as of Oct 14, 2026Based on 3,733 AI responses
Reviewed by Dimitry Apollonsky
AI summary
D2 is a declarative diagramming language that converts text into diagrams.
1%
of 3,733 answers across D2’s markets · since Jul 5
The market map
Diagramming and Architecture Visualization SoftwareMentioned in
Share of answers in Diagramming and Architecture Visualization Software each week · 579 answers since Jul 5
Each engine’s share of its own answers across D2’s markets · since Jul 5
Common descriptions
modern syntax · clean · smaller ecosystem · attractive output · cleaner
Where D2 ranks in AI
Question: I need a diagramming tool that creates code-based diagrams (text-to-diagram) and does not rely on mouse dragging.
Google AI ModeAug 11, 2026
D2 (Declarative Diagramming) is a modern, fast text-to-diagram tool that turns a concise, elegant declarative language into clean SVG diagrams.
Question: What's the best diagramming tool for a software engineer to map out complex system architecture?
Google AI ModeAug 3, 2026
D2 (Terrastruct): A modern diagram scripting language with a heavy focus on intelligent auto-layout.
Excerpts where D2 appeared in the AI's answer
D2 : A modern text-to-diagram language that turns clean declarative text into beautifully styled, professional diagrams
D2 (Declarative Diagramming) is a modern, fast text-to-diagram tool that turns a concise, elegant declarative language into clean SVG diagrams.
Excerpts where D2 appeared in the AI's answer
D2 (Terrastruct): A modern diagram scripting language with a heavy focus on intelligent auto-layout.
D2: An open-source declarative language that transforms text into diagram visuals with automatic layout rendering.