New to Plotly?
Plotly's R library is free and open source!
Get started by downloading the client and reading the primer.
You can set up Plotly to work in online or offline mode.
We also have a quick-reference cheatsheet (new!) to help you get started!
##  '4.9.1'
library(plotly) p <- plot_ly( type = 'scatter', x = mtcars$hp, y = mtcars$qsec, text = rownames(mtcars), hoverinfo = 'text', mode = 'markers', transforms = list( list( type = 'filter', target = 'y', operation = '>', value = mean(mtcars$qsec) ) ) ) p
See https://plot.ly/r/reference/ for more information and options!