- 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.
Dec 3,2020
library(plotly) library(ggplot2) plot_ly(mtcars, x=~hp, y=mpg,type=“scatter”,color=factor(cyl),size=~hp)%>% layout(title=‘hp vs mpg’)
between mpg and hp exist a inverse relationship.