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")

Try the plotly package in your browser

Any scripts or data that you put into this service are public.

plotly documentation built on Nov. 10, 2022, 5:42 p.m.