Our career paths help you become job ready faster
Free AI-powered learning to build in-demand skills
Overview
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