plotly works in Trelliscope

29 views
Skip to first unread message

jeremiah rounds

unread,
Jan 31, 2016, 7:40:02 PM1/31/16
to Tessera-Users
I thought this was worthy of a public note because it involves the use of an unexported function.

Htmlwidgets in R are a hot new way to visualize in R, but their use in Trelliscope is a bit of a mixed bag. 

However I found that plotly works and can make some really interesting visualizations.  A gist demos how:  https://gist.github.com/jrounds/028a1886a92a50dafae3

The key is to use plotly:::toWidget in the panelFn.  Ironically this will make it so R studio won't render the output right, but the panels work in Trelliscope itself which is nice.  There is a bit of a white space issue, but it has a really killer and responsive 3d plot, a ggplot translator, and some interesting map plot options, so I am pretty keen to see if it will simplify some stuff I am working on. I figured this audience might want to know of their options.

A couple ggplots plots did seem slow though.

Reply all
Reply to author
Forward
0 new messages