plot_ly(mtcars, x=mtcars$hp, y=mtcars$mpg, mode="markers", color=mtcars$wt, text=paste("Weight:", mtcars$wt))