I am currently using shiny and plotly to display some scatter plots. I want to be able to color and potentially remove data points that the user clicks on.
This sort of functionality is already available with the usual plots for R. http://shiny.rstudio.com/articles/plot-interaction.html
Is this possible with plotly? If so how would I go about implementing it.
Hi, I used the event_data feature to implement what I specified in the original post. Also, your example is really cool. I am now trying to add a data point when the user clicks on white space. It seems likes this is possible given your example. I have looked through my plotly event data and cant get it to respond to white space clicks. Do you know how to do this? Thanks again!