Skip to content
Graphviz (DOT) templates

Chemistry — Formation of Fossil Fuels

How coal, oil and gas form over time.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph FossilFuels {
  rankdir=LR;
  node [shape=box, style=rounded];
  "Dead organisms" -> "Buried, no oxygen";
  "Buried, no oxygen" -> "Heat + pressure over millions of years";
  "Heat + pressure over millions of years" -> "Coal (plants)";
  "Heat + pressure over millions of years" -> "Oil & gas (plankton)";
}