d2 VS mermaid

Compare d2 vs mermaid and see what are their differences.

d2

D2 is a modern diagram scripting language that turns text to diagrams. (by terrastruct)

mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown (by knsv)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
d2 mermaid
92 122
15,837 66,838
3.4% 2.1%
9.8 10.0
8 days ago 4 days ago
Go JavaScript
Mozilla Public License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

d2

Posts with mentions or reviews of d2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-26.

mermaid

Posts with mentions or reviews of mermaid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.

What are some alternatives?

When comparing d2 and mermaid you can also consider the following projects:

C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures

plantuml - Generate diagrams from textual description

d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

Mermaid - Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.

aws-icons-for-plantuml - PlantUML sprites, macros, and other includes for Amazon Web Services services and resources

diagrams - :art: Diagram as Code for prototyping cloud system architectures

draw.io - draw.io is a JavaScript, client-side editor for general diagramming.

mermaid-cli - Command line tool for the Mermaid library

excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams

graphviz