Creating a Climate Spiral with p5.js: Coding Challenge

TLDRIn this coding challenge, I attempt to create my own version of the climate spiral visualization using p5.js. The visualization shows monthly global temperature anomalies from 1880 to 2022 and is based on data from the NASA Goddard Institute for Space Studies. I walk through the process of downloading and parsing the data set, and then demonstrate how to draw the spiral using polar coordinates. The challenge serves as an example of how to download and analyze data using p5.js.

Key insights

🌍The climate spiral visualization shows monthly global temperature anomalies from 1880 to 2022.

📊The data set used in the visualization is from the NASA Goddard Institute for Space Studies.

🌡️A temperature anomaly represents a deviation from a long-term global average.

🗓️The baseline average temperature for the climate spiral is the period from 1951 to 1980.

🎨The spiral is created using polar coordinates and drawing circles with varying diameters.

Q&A

What is a temperature anomaly?

A temperature anomaly represents a change or deviation from a long-term global average.

Where does the data for the climate spiral come from?

The data set used in the climate spiral visualization is from the NASA Goddard Institute for Space Studies.

What time period is considered the baseline for the climate spiral?

The baseline for the climate spiral is the period from 1951 to 1980, which serves as the reference for comparing temperature anomalies.

How is the spiral created?

The spiral is created using polar coordinates and drawing circles with varying diameters.

What does the climate spiral show?

The climate spiral visualization shows the changing global temperature anomalies from 1880 to 2022, highlighting the trend of global warming.

Timestamped Summary

00:00Introduction to the coding challenge: creating a climate spiral visualization with p5.js.

02:11Overview of the climate spiral visualization and its purpose.

03:30Explanation of temperature anomalies and the baseline used in the visualization.

04:48Downloading and parsing the data set from the NASA Goddard Institute for Space Studies.

09:07Using polar coordinates to draw the circle representations of temperature anomalies.