You’d do well to study the periodic table and its inherent trends like electronegativity and atomic radius aka periodicity Also the inherent crystalline structures affect Density. Those dips and peaks on that graph above
Correspond to the different periods or “rows”
Correspond to the different periods or “rows”