Skip to content

goebbe/dubois24-python-matplotlib

 
 

Repository files navigation

#DuBoisChallenge2024 using Python and Matplotlib

This repository contains a collection of notebooks. The notebooks show you how to recreate some of W.E.B. Du Bois's Data Portraits using Matplotlib.

To get started, copy the 2024 folder from the DVS Du Bois Data Challenge repo and add it to the root of this project.

I'm also keep track of my progress on my personal blog.

The 10 Du Bois Visualisations

You can view the visualisations made below. Each notebook shares the code and some explanations. Though some notebooks have a better structure than others.

Challenge 01

dubois2024 challenge image 01

Challenge 02

dubois2024 challenge image 02

Challenge 03

dubois2024 challenge image 03

Challenge 04

dubois2024 challenge image 04

Challenge 05

dubois2024 challenge image 05

Challenge 06

dubois2024 challenge image 06

Challenge 07

dubois2024 challenge image 07

Challenge 08

dubois2024 challenge image 08

Challenge 09

dubois2024 challenge image 09

Challenge 10

dubois2024 challenge image 10


Bonus

  • colors.py - it includes a dictionary of the Du Bois colours by name as listed in the style guide.
  • port_lookup.py - it includes a dictionary with latitudes and longitudes for all the ports (Sources and Destinations) in the challenge 04 route pairs data, generated using geopy.

Contact

Any questions or suggestions? Don't hesitate to reach out. Say hi here.

About

Repository of python notebooks that help you recreate Du Bois's data portraits using Matplotlib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Python 0.2%