R Markdown Presentation & Plotly Peer Graded Assignment
library(plotly)
## Loading required package: ggplot2
## Warning: Installed Rcpp (0.12.10) different from Rcpp used to build dplyr (0.12.11).
## Please reinstall dplyr to avoid random crashes or undefined behavior.
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
data(mtcars)
plot_ly(x = mtcars$cyl, y = mtcars$hp, z = mtcars$mpg, type = "scatter3d", mode = "markers", color = mtcars$cyl)