How to Make Animated (GIF) Heatmaps in R
Using color as the visual encoding, show changes over time in two dimensions.
While small multiples allow you to see all of the data at once, animation can sometimes make it easier to see changes over time. In this tutorial, you use a heatmap as the foundation of the graphic and go from there.
To access this full tutorial, you must be a member. (If you are already a member, log in here.)
You will get unlimited access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Files and data are included so that you can more easily apply what you learn in your own work.
Learn to make great charts that are beautiful and useful.
Members also receive a weekly newsletter, The Process. Keep up-to-date on visualization tools, the rules, and the guidelines and how they all work together in practice.
See samples of everything you gain access to:
More Tutorials See All →
Using Color Scales and Palettes in R
Color can drastically change how a chart reads and what you see in your data, so don’t leave it up to chance with defaults.
How to Make Animated Visualization GIFs with ImageMagick
Using the library command-line gets you more flexibility to highlight the important parts of the data.