library(plotly)
data("iris")
plot_ly(data = iris, x = ~Petal.Length, y = ~Sepal.Length, color=~iris$Species, mode='markers', type = "scatter")
## Warning: `arrange_()` is deprecated as of dplyr 0.7.0.
## Please use `arrange()` instead.
## See vignette('programming') for more help
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_warnings()` to see where this warning was generated.