
Let's Explore Population Pyramids of Past, Present and Future with Python, Matplotlib and Great Data
Introduction
Let's talk about population pyramids! I'll show you how to understand a population's progress using python and where to get curated and accurate data from the United Nations that covers most countries around the world! You'll even be able to dial back in time or dial forward into the future! Exciting!
Code
In [132]:
from IPython.display import Image
Image(filename='population pyramid thumb.png', width='80%')
Out[132]:
In [133]:
from IPython.display import Image
# Source: http://darkroom.baltimoresun.com/2016/10/building-human-towers-in-catalonia-spain/#1
Image(filename='Spain-Catalonia-Human-Towers-Castellers-10032016-18.jpg', width='80%')
Out[133]: