Black Lives Matter. Please consider donating to Black Girls Code today.

Highlight() and SharedData$new() fuctions are not working after publishing it

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)) +
scale_x_log10()
ggplotly(gg)

Here is the original source of the data:

Here is the published plot:
https://plot.ly/~tarkomatas/3/lifeexp-vs-gdppercap/

Also there is a same problem with the highlight() function

Hey @tarkomatas,

Currently these (linking, highlighting, and animation) only work offline.