anim.plots provides simple animated versions of basic R plots, using the 'animation' package. It includes animated versions of plot, barplot, persp, contour, filled.contour, hist, curve, points, lines, text, symbols, segments, and arrows.
For more information, run vignette('anim.plots-stub')
, or check the vignette out
on the web at https://hughjonesd.github.io/anim.plots/anim.plots.html.
Be aware that anim.plots is just a simple wrapper around Yihui Xie's "animation" package. You may want to consider more modern solutions such as gganimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.