demo/crosstalk-highlight-ggpairs.R

library(GGally)
d <- highlight_key(iris)
p <- ggpairs(d, aes(colour = Species), columns = 1:5)
ggplotly(p) %>% 
  highlight("plotly_selected")
plotly/plotly.R documentation built on Dec. 20, 2024, 6:40 a.m.