Radial evolution of density structure in the solar corona