Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Visualizing Climate Data

Coding Train via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Create a climate spiral visualization using p5.js and temperature data in this 41-minute video tutorial from Coding Train. Learn to work with NASA's temperature anomaly data, implement polar coordinates, and animate the spiral to illustrate global temperature changes over time. Master techniques such as data loading, mapping values, color interpolation, and animation to craft a compelling visual representation of climate change. Explore additional resources and references to deepen your understanding of climate data visualization and its significance in addressing environmental challenges.

Syllabus

Welcome to a special Earth Day Coding Challenge!
What is a temperature anomaly?
NASA Goddard Institute for Space Studies website
Preview the data
Upload the data
Use loadTable to preload the data
Check out the data
Set up the base pattern
Polar Coordinates
Add the month labels
Time for the data!
Draw the spiral
Set up global variables
Map the x, y positions to the data
Loop through all of the data
Check for null values
Animate the spiral
Add one month at a time
Add color to the spiral
Connect the points with a line segment
Use lerpColor to vary color
Use parseFloat to convert a string to a float
We have the climate spiral
Suggestions for possible variations
Outro

Taught by

The Coding Train

Reviews

Start your review of Visualizing Climate Data

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.