Site icon R-bloggers

Daily Average Sea Surface Temperature Animation

[This article was first published on R on kieranhealy.org, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Yesterday evening I gave a talk about data visualization to Periodic Tables, a Science Cafe run by Misha Angrist. It was a lot of fun! Amongst other things, I made an animation of the NOAA Daily Sea Surface Temperature Graph from the other week. Here it is:

< video autoplay loop muted playsinline controls="true" width = "100%"> < source src="./sst_anim_1min_1280x720.mp4" type="video/mp4"> < source src="./sst_anim_1min_1280x720.mov" type="video/mov"> < source src="./sst_anim_1min_1280x720.webm" type="video/webm">

Here’s the static graph.

Global mean sea surface temperature 1981-2024

And because the hardy perennial of whether, for the sake of honesty and not Lying With Graphs, you should always have your y-axis go to zero also came up, I made a zero-baseline version of the average temperature graph.

Mean global sea surface temperature with a zero baseline on the y-axis

I’ve added these to the Github repo. In making the animation, I found a nice little wrinkle that let me put a ticking version of the year in the title even though year is not the frame_along driving the transition_reveal() that makes the animation. If I get a chance I’ll write this up separately.

To leave a comment for the author, please follow the link and comment on their blog: R on kieranhealy.org.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Exit mobile version