Weekly Project 3:
Create a web page presentation using R Markdown that features a plot created with Plotly.
May 8, 2017
Weekly Project 3:
Create a web page presentation using R Markdown that features a plot created with Plotly.
The plotly package is required for plotting a graph:
require(plotly)
The data used for the graph is mtcars with the following variables
plot_ly(mtcars, x = ~wt, y = ~mpg, type = "scatter",
color = ~factor(cyl), size = ~hp)