Forum Discussion
Using gganimate from CRAN via R-script to visualize an animated component
- 5 years ago
I'm not sure what is going on. The visual I see is static, and I suspect it launched your browser when it was returning html. To see the animated visual on your Power BI report page, I suspect you are going to need to create a custom visual following the steps described here.
https://towardsdatascience.com/custom-html-visuals-in-power-bi-using-r-2b0494894ff
Here is the static chart I see with your example data.
Attached is the pbix, in case it is useful to you.
Regards,
Pat
Your code resulted in a chart for me (once I loaded all the listed packages). Make sure for each column in the visual that there is no default aggregation applied. I didn't see any animation, but it looks like you haven't used any gganimate functions yet. Is that right? I'm curious if it works in Power BI. Also, why do you have the <- NULL steps instead of just not including those columns in the R visual?
Regards,
Pat