Skip to content
Visualizing data on overweight and obesity from https://ourworldindata.org/obesity
Jupyter Notebook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
figs
Blues_bmi.mp4
Greys_bmi.mp4
LICENSE
README.md
Reds_bmi.mp4
bmi.mp4
main.ipynb
main_colab.ipynb
prevalence-of-obesity-in-adults-by-region.csv
share-of-adults-defined-as-obese.csv
share-of-adults-defined-as-overweight.csv
share-of-females-defined-as-obese.csv
share-of-females-defined-as-overweight.csv
share-of-men-defined-as-obese.csv
share-of-men-defined-as-overweight.csv
share-of-women-defined-as-underweight-healthy-overweight-or-obese.csv
viridis_r_bmi.mp4

README.md

Analyzing data on overweight and obesity around the globe

Click here

The data is taken from https://ourworldindata.org/obesity

People with a BMI >= 25 are defined as overweight.

People with a BMI >= 30 are defined as obese.

Data is available for the years 1975-2016 for many countries around the globe.

More visualizations can be found at www.camminady.org

Results

An image for each year will be created inside the folder figs/.

These images can be converted into a video via the command below.

As an example, you can see the results for the year 2016 here.

Results 2016

To reproduce

  1. Execute the cells inside the main.ipynb
  2. To convert the images into a video execute: ffmpeg -framerate 1 -i figs/%02d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p vid.mp4
You can’t perform that action at this time.