R Markdown Presentation & Plotly

Aravind

April 18, 2018

Objective

Create a web page presentation using R Markdown that features a plot created with Plotly. Host your webpage on either GitHub Pages, RPubs, or NeoCities. Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly. We would love to see you show off your creativity!

Code

library(plotly)
data("mtcars")
plot_ly( x = mtcars$wt, y = mtcars$mpg, z = mtcars$hp) %>%
    add_markers(color = factor(mtcars$cyl))
## Loading required package: ggplot2
## 
## 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

Plot

Thank You