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)
PeriodicBlocks s-block s-block Alkali & alkaline-earth metals Alkali & alkaline-earth metals s-block->Alkali & alkaline-earth metals p-block p-block Nonmetals, halogens, noble gases Nonmetals, halogens, noble gases p-block->Nonmetals, halogens, noble gases d-block d-block Transition metals Transition metals d-block->Transition metals f-block f-block Lanthanides & actinides Lanthanides & actinides f-block->Lanthanides & actinides

What this template contains

Graph
Directed
Edges
4
Source
8 lines

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";
}