More data explorations with Python

2025-04-10

Rick Gilmore

Prelude

lampbrain (2017)

What the…?

Overview

Announcements

  • There are four exercises!

Four lights meme

In the news…

Larson & Bersoff (2025)

Larson & Bersoff (2025)

“Global listening project” (n.d.)

“Societal preparedness insights” (n.d.)

Last time…

https://psu-psychology.github.io/psych-490-data-viz-2025-spring/slides/wk12-2025-04-08-explore-data-python.html#/life-expectancy-by-wealth-africa

Exploring data

  1. Plot a simple figure.
  2. Examine the figure. Let it spark questions.
  3. Make a new figure or table that answers the question(s) and sparks others.
  4. Repeat.

Today

  • More data exploration with Python
  • Introducing Exercise 07
  • Work session

More data exploration with Python

Jupyter notebooks

  • Using Google Colaboratory (colab.research.google)

Sign in

  1. Sign in to google.com using your PSU access ID
  2. Visit colab.research.google.com

colab.research.google.com

  1. Explore the notebook!

A gapminder notebook

Penn State computer labs, too

Context

  • Jupyter notebooks ~ Quarto documents
  • Computational notebooks document what, why, and how
  • Can share with collaborators or others

Work session

Next time

Making plots with JavaScript

Others

  • Tableau
  • Micrsoft Business Intelligence (BI)

Resources

References

Global listening project. (n.d.). Retrieved April 10, 2025, from https://global-listening.org/
lampbrain. (2017). Camelot: Knights of the Round Table (Monty Python and the Holy Grail) with lyrics. Youtube. Retrieved from https://www.youtube.com/watch?v=dviEWs_VIG4
Larson, H. J., & Bersoff, D. M. (2025). Science’s big problem is a loss of influence, not a loss of trust. Nature, 640, 314–317. https://doi.org/10.1038/d41586-025-01068-1
Societal preparedness insights. (n.d.). Retrieved April 10, 2025, from https://global-listening.org/societal-preparedness-insights/