Mao Soldevilla
13/11/2020
This is the second project of Developing Data Products Course of Data Science Specialization of John Hopkins University - Coursera.
This Project is to show how to work with plotly.
p <- plot_ly(mtcars, x = ~wt, y = ~mpg, type = "scatter", color = ~factor(cyl)) %>% layout(title = "mpg vs wt per Cylinder") p
terrain <- matrix(sort(rnorm(100*100)), nrow = 100, ncol = 100) plot_ly(z = ~terrain, type = "surface")