Intro to Data Visualization with Python
This workshop introduces you the art and science of data visualization. You’ll learn the basic principles of effective data visualization, and get hands-on with popular Python libraries to create your own compelling plots.
What To Prepare
In this workshop, we will mostly use Google Colab as our coding environment. Google Colab is a hosted Jupyter Notebook service that requires no setup to use and provides free access to computing resources.
Please make sure you have a Google account and can access Google Colab. If you have not used Google Colab before, please go through the three Colab tutorials below to get familiar with the environment.
If you want to get a head start on basic plotting in Python, you can work through the below notebook from Google.
Part I: Principles & Good Practices
In other words, what is a good chart, and a good way to make one.
Part II: Intro to Matplotlib
Part III: Plotting Maps (with Geopandas and Matplotlib)
- Spatial data basics and plotting
- Slides
- Notebook: Geopandas intro (
)
- Reproducing the Toronto Parking Tickets Visualization
Part IV: Dashboarding (with Quarto and Plotly Express)
- Coming Soon.
Resources
- Learning
- Good Charts by Scott Berinato (main reference for Part I; available via UofT library.)
- Scientific Visualization: Python + Matplotlib by Nicolas P. Rougier (mastering Matplotlib)
- Fundamentals of Data Visualization by Claus O. Wilke
- Datawrapper Blog
- Flowing Data by Nathan Yau
- From Data to Viz (sample code of various types of charts)
- Inspiration
- Joseph’s Github dataviz repo (Python)
- Dataviz Inspiration (various tools)
- Tanya Shapiro’s GitHub Gallery and Talks (R)
- Danielle Navarro’s Art from Code (R)
- Georgios Karamanis’s TidyTuesday plots (R)
- Fronkonstin (R)
- Data Imaginist (R)
Back to MDAL Computing Page