Interpolate your data for animation in R

Posted to Coding  |  Tags: , ,  |  Nathan Yau

The tweenr package in R, by Thomas Lin Pedersen, helps you interpolate data for easier animated transitions.

tweenr is a small package that makes it easy to interpolate your data between different states, specifying the length of each change, the easing of the transition and how many intermediary steps should be generated. tweenr works particularly well with gganimate but can be used for any case where interpolation of data is needed.

Why I’m just now learning about this, I have no clue. I thought we were friends.

Favorites

19 Maps That Will Blow Your Mind and Change the Way You See the World. Top All-time. You Won’t Believe Your Eyes. Watch.

Many lists of maps promise to change the way you see the world, but this one actually does.

How You Will Die

So far we’ve seen when you will die and how other people tend to die. Now let’s put the two together to see how and when you will die, given your sex, race, and age.

Best Data Visualization Projects of 2016

Here are my favorites for the year.

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.