Density always increases from left to right because the volume/size of an atom decreases along the period and the mass keeps on increasing as the protons/neutrons are added.
As Density is directly proportional to mass and inversely proportional to volume, it increases along a period.