Skip to content
Graphviz (DOT) templates

Chemistry — Acids, Bases & pH

How the pH scale maps to acidic, neutral and basic solutions.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph pH {
  rankdir=LR;
  node [shape=box, style="filled,rounded"];
  "pH 0-6 (acidic)" [fillcolor="#fecaca"];
  "pH 7 (neutral)" [fillcolor="#e5e7eb"];
  "pH 8-14 (basic)" [fillcolor="#bfdbfe"];
  "pH 0-6 (acidic)" -> "pH 7 (neutral)" -> "pH 8-14 (basic)";
}