library(plotly)
plot_ly(iris,x=Sepal.Length, type="histogram")
plot_ly(iris, x = Sepal.Length, color = Species, type = "box")
plot_ly(iris, x = Sepal.Width, y = Sepal.Length,mode = "markers")
plot_ly(iris, x = Sepal.Width, y = Sepal.Length,mode = "markers", color = Species)