Interactive Plots

604 views
Skip to first unread message

Brian Bolt

unread,
Jan 18, 2013, 12:17:30 PM1/18/13
to shiny-...@googlegroups.com
Using Shiny (which is a such a great tool by the way), has me thinking more about providing interactivity to my plots (selecting points, bars...etc.). Shiny provides a great new way to get data out to people quicker, and to give them at least a touch of the power of R that I get as a programmer. The next step, at least for me is to provide them with graphical interactivity. This is a great example of what I am looking for:


However, let's say I wanted a data frame below this chart to reflect that data points that someone has selected. Does anyone have examples or ideas about how best to achieve this type of interactivity between the user and R/Shiny?

Thanks,
-Brian

Joe Cheng

unread,
Jan 18, 2013, 1:59:01 PM1/18/13
to shiny-...@googlegroups.com
I agree that this is the logical next step. Many people are thinking about it, but Kenton is the one forging ahead the quickest.

This example defines a Shiny output binding called networkOutputBinding. You could easily imagine it also defining a Shiny input binding that is triggered as the data and/or selection changes.


--
 
 

Alex Brown

unread,
Jan 24, 2013, 3:00:33 PM1/24/13
to shiny-...@googlegroups.com
I have an implementation of this - a single data set is sent to the client and a table and graph are rendered.  I will attempt to cut it down to a useable size.

Brian Bolt

unread,
Jan 24, 2013, 3:25:30 PM1/24/13
to shiny-...@googlegroups.com
that would be excellent.

zdw...@pdx.edu

unread,
Jan 24, 2013, 9:03:52 PM1/24/13
to shiny-...@googlegroups.com
I have been working on this for weeks now. I am unable to produce the plots, but I have great success with the data tables. I will post ui.R and server.R code if you want.


On Thursday, January 24, 2013 12:00:33 PM UTC-8, Alex Brown wrote:

Alex Brown

unread,
Jan 24, 2013, 11:40:57 PM1/24/13
to shiny-...@googlegroups.com
It would be useful it you could build a static demo of what you expect the table to look like (its by no means clear singe the data is n-dimensional!

-alex

Ksenia Titorenko

unread,
Feb 21, 2013, 7:16:50 AM2/21/13
to shiny-...@googlegroups.com
Could you pls post it?
Reply all
Reply to author
Forward
0 new messages