This is a simple web presentation created with R Markdown and Plotly.
- Created on: 2025-11-28
- Uses the built-in mtcars dataset
- Demonstrates an interactive scatter plot
2025-11-28
This is a simple web presentation created with R Markdown and Plotly.
p <- plot_ly(
data = mtcars,
x = ~hp,
y = ~mpg,
type = "scatter",
mode = "markers",
marker = list(size = 10),
text = ~paste("Car:", rownames(mtcars))
) %>%
layout(
title = "Horsepower vs. MPG (mtcars)",
xaxis = list(title = "Horsepower (hp)"),
yaxis = list(title = "Miles per Gallon (mpg)")
)