0

I have created a treemap using the treemap package and successfully made it interactive using the d3tree package.

How can I add the interactive treemap into a Google Slide, so that it will be interactive from within the presentation?

I currently use the saveWidget function to save it and it saves as a .html file, which works in a browser but not as a stand-alone graphic in my presentation. Code below--I think I'm missing some really basic step because I've never worked with interactive graphics before. TIA!

inter_treemap <- d3tree2(treemap, rootname = "Distribution of Respondents" ) saveWidget(inter_treemap, file=paste0(getwd(), "/HtmlWidget/interactiveTreemap.html"))

0 Answers0