This plot is works perfectly when I run it only locally but when I try to publish it the animation does not work anymore.
Here is the code:
data(gapminder, package = “gapminder”)
gg <- ggplot(gapminder, aes(gdpPercap, lifeExp, color = continent)) +
geom_point(aes(size = pop, frame = year, ids = country)) +
Here is the original source of the data:
Here is the published plot:
Also there is a same problem with the highlight() function