Electron Configuration
Electrons fill orbitals by the Aufbau principle, the Pauli exclusion principle, and Hund’s rule. They enter lower-energy orbitals first, at most two with opposite spins per orbital, and unpaired electrons first among equal-energy orbitals. Changing the atomic number changes the configuration, and the number of unpaired electrons links to magnetism and chemical behavior. Here you change Z and watch the orbital energy diagram fill according to those three rules.