Shiny: How to change the shape and/or size of the clicked point?
问题 I would like to change the shape and size of the clicked point in the below plot. How to achieve it? For this toy plot, I have reduced the number of points from original 100k to 2k. So, the expected solution should be highly scalable and do not deviate from the original plot i.e., all the colors before and after the update of the click point should be the same. library(shiny) library(plotly) df <- data.frame(X=runif(2000,0,2), Y=runif(2000,0,20), Type=c(rep(c('Type1','Type2'),600), rep(c(