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 →
How I Made That: Interactive Beeswarm Chart to Compare Distributions
The histogram is my favorite chart type, but it’s unintuitive for many. So I’ve been using the less accurate but less abstract beeswarm.
How to Make Unit Charts with Icon Images in R
Make the unit chart less abstract with icons that represent the data, or use this in place of a bar chart.
How to Make a Heatmap in Excel
Heatmaps quickly translate data tables into a visual form, making them a great tool to explore a new dataset.