Visualizing Climate Data
Offered By: Coding Train via YouTube
Course Description
Overview
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
Related Courses
An Introduction to the U.S. Food System: Perspectives from Public HealthJohns Hopkins University via Coursera Climate Change
University of Melbourne via Coursera Science from Superheroes to Global Warming
University of California, Irvine via Coursera Human Health and Global Environmental Change
Harvard University via edX Energy, the Environment, and Our Future
Pennsylvania State University via Coursera