RaoOfPhysics / contained-revealr

Self-contained repo for interactive stats-driven presentations
https://raoofphysics.github.io/contained-revealr/
Creative Commons Attribution Share Alike 4.0 International
3 stars 4 forks source link

Plotly without R #2

Open chintanp opened 3 years ago

chintanp commented 3 years ago

@RaoOfPhysics great work with the repo. As an avid R and revealjs user, I find the marriage beautiful.

Since this work have you been able to remove the R dependency to embed Plotly plots in revealjs presentations? Any ideas why going the R way was necessary, to begin with? Seems like Plotly has a javascript API that should work with revealjs, no?

RaoOfPhysics commented 3 years ago

Hey @chintanp! Sorry for the silence, I was busy moving countries and hadn’t looked at GitHub in a while.

My reasons for why I did things this way are in the presentation itself: https://raoofphysics.github.io/contained-revealr/

I mainly use R, so I wanted my R plots to be interactive. I’m not sure I would do things the same way now, mind. This was from a long time ago. :D