r2d3
r2d3 copied to clipboard
Pass info from D3 back to [R]
Could data be passed back from the visualisation to an object in [R]?
For example. on this simple shiny app I'd ideally like to be able to populate a list in [R] based on nodes that are clicked. Currently, I have to do it via a checkbox list and clicking the nodes just calls a basic 'alert("You clicked " + d.name);'
.
Take a look here: https://shiny.rstudio.com/articles/communicating-with-js.html