Somebody had to draw the seating plan.
The table didn't fall out of the sky finished. In 1869, a Russian chemist named Dmitri Mendeleev was wrestling with the roughly sixty elements known at the time. He wrote each one on a card with its properties, and shuffled them โ reportedly a bit like sorting a hand of playing cards โ until a pattern fell out. When he lined the elements up by weight and stacked the ones with matching personalities into columns, the families appeared on their own.
He wasn't the only person circling this idea; others, like John Newlands and Lothar Meyer, spotted repeating patterns around the same time. What made Mendeleev's version stick was a bold move: where the pattern demanded an element that nobody had ever found, he left an empty seat rather than forcing a wrong one in. He even described what the missing element should be like โ its weight, its colour, how it would react โ purely from the shape of the hole.
Then the missing elements turned up, one by one, and matched his descriptions almost exactly. Finding gallium, scandium and germanium sitting in their predicted seats, behaving as predicted, was the moment the world realised the table wasn't a tidy filing trick โ it was telling the truth about nature.
One thing did change later. Mendeleev sorted by atomic weight, but the modern table is ordered by atomic number โ the proton count you met earlier โ which fixed a few seats that weight alone got slightly out of order. The bones of his 1869 plan, though, are still the chart you used above.
And the seats keep filling. Mendeleev started with around sixty elements; today there are 118. Roughly the first ninety or so occur naturally on Earth, dug out of rocks or sieved from air and sea. The heaviest ones โ everything past uranium and especially the bottom-right corner โ don't exist in nature at all. Scientists make them by smashing atoms together in giant machines, and often only a handful of atoms ever appear before they fall apart in a flash. That's why their seats sit at the end, and why the chart says their state at room temperature is simply "not known": nobody has ever held enough to find out.