
Explore population pyramids with Python and a mobile web app, visualizing males and females by age group across a country, continent, or world and a chosen year.
Download UN population data and perform quick exploratory data analysis in Python to build population pyramids with five-year age groups, using Jupyter notebooks and pandas.
Create population pyramid plots in Python by cleanly factoring code into reusable functions, then generate two horizontal bar plots for male and female across age groups by country and year.
Explore population pyramids, expansive, stationary, and constrictive, and learn to animate demographic trends with Python and matplotlib, using real-world examples from the United States, Japan, and beyond.
Explore Flask, a micro web framework in Python, including routing, templates, and dynamic content, with hands-on examples and a hello world setup.
Explore deploying a cloud-based population pyramid web app with Flask on PythonAnywhere, loading a reduced 100 MB United Nations data set and rendering dynamic, responsive templates.
Implement and test population pyramids with Python and web applications on mobile devices. Learn to adjust chart sizes, reset data, and share updates via newsletters.
Join me for this free Udemy class where we will explore Population Pyramids using Python and finish by building a web application. You will be able to choose a country, a continent, even the whole world, and choose a year, it can the current one, a past one, or even peer into the future and it will build these automatically.
A Population Pyramids is a graph that quantifies males versus females by age segments. As you can see, on the left in light blue are the males and in light red, the females and each row represent an age group.
These graphs are very important because they not only highlight the challenges of a society they can also point to future ones. It is a great planning tool for administrations and businesses to understand current needs and anticipate future problems.
We will build a series of population pyramid plots in Python and a Jupyter notebook and end the class by porting it all to the web into a mobile web application to share your work with the world!
All the code needed is provided in the resource folder.
Happy learning!