Data from the United Nations, Dept. of Economic and Social Affairs https://population.un.org/wpp/Download/Standard/CSV/
Variables: Total population by sex, annually from 1950 to 2100. PopMale: Total male population (thousands) PopFemale: Total female population (thousands) PopTotal: Total population, both sexes (thousands) PopDensity: Population per square kilometre (thousands)
Extracted the UK data only for practice purposes.