plot_ly(iris, x = iris$Sepal.Length, y = iris$Petal.Length, mode="markers", color = as.factor(iris$Species), size = iris$Sepal.Width)
## No trace type specified:
##   Based on info supplied, a 'scatter' trace seems appropriate.
##   Read more about this trace type -> https://plot.ly/r/reference/#scatter
## Warning: `line.width` does not currently support multiple values.

## Warning: `line.width` does not currently support multiple values.

## Warning: `line.width` does not currently support multiple values.