Skip to content
Graphviz (DOT) templates

Chemistry — Periodic Table Blocks

The s, p, d and f blocks and the elements they contain.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph PeriodicBlocks {
  rankdir=LR;
  node [shape=box, style="filled,rounded", fillcolor="#e0f2fe"];
  "s-block" -> "Alkali & alkaline-earth metals";
  "p-block" -> "Nonmetals, halogens, noble gases";
  "d-block" -> "Transition metals";
  "f-block" -> "Lanthanides & actinides";
}