Chapter 2
Using ggplot2 to Draw Statistical Graphics
Section 7
Creating Animated Plots with gganimate and tweenr - I
This video will help you learn how to use the gganimate package to create animated plots. - Prepare data for an animated plot - Create the frames of an animated plot - Create an animated plot with gganimate