We do this using the box and arrow diagrams. Fill the boxes with arrows (representing electrons) according to the Aufbau principle, Pauli's exclusion principle, and Hund's rule to show electronic configuration of ground state electrons.