6-4-2020

Making a plot with Plotly

This is an R Markdown presentation to show how it works to make a presentation in R markdown To be able to make a plot with the Ploty package we first have to load it

library(plotly)

Plot

plot_ly(mtcars, x = ~wt, y = ~mpg, mode = "markers")