0

For example, using the longley dataset in R, we can plot using

p <- ggplot(longley , aes(Year, Population, frame = Year)) + geom_point()

To animate it we can use

Out <- ggplotly(p, height = 600, width = 600) %>% animation_opts(frame = 1120, easing = "linear")

Is there a way to replace that black dot with an image, let's say R logo?

T.J.
  • 11
  • 1
  • 4

0 Answers0