A few months ago I have made an attempt to visualize the world population changes from 1800 to 2100:
Inspired by @MaxCRoser and @jkottke, I've tried to visualize the world population changes from 1800 to 2100. My new blog post at https://t.co/XpBpkZLO9s describes how this animation was made using #rstats and #OpenData. pic.twitter.com/WI3gj0xUwU
— Jakub Nowosad (@jakub_nowosad) October 9, 2018 This way of visualization is good to show the ever-changing distribution of the population on a global scale.
Last week Neil Kaye tweeted:
Animating the Mercator projection to the true size of each country in relation to all the others.
Focusing on a single country helps to see effect best.#dataviz #maps #GIS #projectionmapping #mapping pic.twitter.com/clpCiluS1z
— Neil Kaye (@neilrkaye) October 12, 2018 This, of course, provoked me to ask: is it reproduclible? And more specifically, can it be reproduced in the open source statistical programming language, R?
Last month, Max Roser presented a cartogram of the Earth’s population in 2018. He also provided some perspectives on its spatial distribution in an article on the worldinourdata.org, which I recommend. Links to the article were shared in many places, including in the blog post A Map of the World Where the Sizes of Countries Are Determined by Population. The author, Jason Kottke, concluded with a wish:
“I would love to see an animated version of this cartogram from like 1950 to 2100”.
Global socio-economic data is easily accessible nowadays. Just type the indicator of interest and the name of the country in your preferred search engine and you can find its value, sometimes also an additional plot or a map. But what about when you want to go further and (for example):
Want to compare many countries? Get data just for a specific year? See changes in time? Just want to create a very specific plot or a map?
Update (2018-12-12): Alternative approach to this problem can be found at https://github.com/Nowosad/us-map-alternative-layout.
Introduction Maps of United States often focus only on the contiguous 48 states. In many maps Alaska and Hawaii are simply not shown or are displayed at different geographic scales than the main map. This article shows how to create inset maps of the USA, building on a chapter in the in-development book Geocomputation with R that shows all its states and ensures relative sizes are preserved.