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
Hi mahoneypat ,
I finally got time to go through the instructions you directed me to.
First of all thank you for providing that, I am not sure how you knew that.
Secondly that works only for plotly charts, so not gganimate. when I changed the ggplotly at the end of the code to animate(), the error in Power BI said Power BI does not support gganimate animate elements. There we have it then, Power BI does not support animations made with R. I was not able to do the same with Python since it requires a Pro license.
Issue is not resolved but I guess topic can be closed 🙂
Kind Regards,
Shizar