Is there any way to keep the hovering aspect of ggplotly in a .ppt file?


#1

Hi guys,
I have to create a presentation for AHA. I have used ggplotly for all my graphs and now Microsoft .ppt doesn't support the hover functionality. How can I present these graphs with the hover functionality intact?

Pavitra


#2

Use xaringen presentation and if needed you can take screenshot of your already made presentation and embed them in your r markdown file.


#3

you gotta get out of PowerPower in order to get those features. Consider using RMarkdown for rendering your material into one of the HTML slide formats and then you can keep the functionality.


#4

Thanks so much, JD. I need to figure out RMarkdown right away. Many thanks.


#5

Got it...Need to get familiar with RMarkdown right away


#6

I think if you render your documents with ioslides you should be able to embed the ggploytly right in there without losing anything. Although I have not done it:

https://rmarkdown.rstudio.com/ioslides_presentation_format.html


#7

If your presentation venue is amenable to you using an HTML/Javascript presentation framework (e.g., ioslides or remark.js / xaringan, as @jdlong and @Anantadinath recommended), I would definitely go that route. If the venue is going to insist on PowerPoint (this happens in my field), my next fallback would be to fake interactivity with successive screenshots.

However, for the sake of completeness... it is possible to embed a web browser in a PowerPoint slide via ActiveX controls (:scream:). There is a freely available pre-built Add-In out there that will render local HTML files. Major caveat: it's not clear what web rendering engine you wind up with (it may even depend on the version of Windows on the computer where the slide deck is playing), and whether that rendering engine would support all the stuff plotly does. There's also a plotly-specific add-in, but it seems limited to embedding plots that are hosted with plot.ly.


#8

A newer alternative to LiveWeb is LiveSlides, which lets you embed any web content. The downside is that you have to have companion app running when you deliver the talk; without it, you just get a static image, so portability goes down the drain. But if you <3 PowerPoint and can ensure that you'll be delivering the talk on your own machine, LiveSlides works great (I've used it with PowerPoint for Mac 2016), and you can even resize the dummy image (which it swaps for an iframe or something when you deliver) if you want the embedded content next to other, regular PP content :slight_smile:


#9

JD, thank you...I think I am moving away from powerpoint altogether. Do you think a paid plotly subscription would be good? I create customer sensitive reports on a monthly basis and I am also worried about privacy issues


#10

This is so cool. Thank you very much; will look into it for sure.. Had no idea at all


#11

Hi JC,
I have become very wary of Add-ins in excel. It is so slow and the data just doesn't load properly at all....


#12

For sure! Personally, I'd give up on interactivity before trying to jam a web browser into my PowerPoint slide, but, y'know, the possibility is out there. In general, I heartily endorse moving beyond PowerPoint! :wink:

Oh, ETA: there was some useful discussion of R Markdown presentations vs other options over here