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) d <- diamonds[sample(nrow(diamonds), 1000), ] # without log scales p <- plot_ly(d, x = ~carat, y = ~price) %>% add_markers() p
# with log scales p <- layout(p, xaxis = list(type = "log"), yaxis = list(type = "log")) p