Week 3 Assignment

Pierre Deslee \n 19/11/16
Data Scientist

A Simple Plot

Let us create a simple scatterplot.

require(ggplot2)
qplot(wt, mpg, data = mtcars)

plot of chunk simple-plot

Creation of plotly plot

p <- plot_ly(midwest, x = ~percollege, color = ~state, type = "box")
p
htmlwidgets::saveWidget(plot_ly(p), "wp.html")

A plotly Plot view

Thanks