I have created a chart using R code. Normally I store such charts as png files and they are easily loaded on a page in Sparkle. This time I created an enhanced chart, using the R package known as plotly. This chart has some embedded html code that lets the viewer of the chart interact with it dynamically. The resulting file is an html file rather than a png file. I can load the file in a web browser and it works perfectly.
My question is whether I can embed this dynamic chart, contained in an html file, on a page in Sparkle. I tried the embed function unsuccessfully, but I don’t really understand that function very well.