In addition to being a runnable CLI tool, D2 can also be used to produce diagrams from Go programs. For examples, see ./docs/examples/lib. This blog post also demos a complete, runnable example of ...
18 inorganic salts were used to determine the ternary phase diagram of ethanol/water/salts. The binodal curve was obtained by cloud point titration. The boundary between biphasic and triphasic zone ...