Welcome to My Plotly Web Presentation

Created on: 2025-06-24

This web page was created as part of the R Markdown and Plotly assignment. Check out the interactive plot below!

library(plotly)  # safe to include again, but it's already loaded

fruits <- c("Apples", "Oranges", "Bananas", "Grapes")
sales <- c(23, 17, 35, 29)

plot_ly(
  x = fruits,
  y = sales,
  type = "bar",
  name = "Fruit Sales"
) %>%
  layout(
    title = "Fruit Sales Bar Chart",
    xaxis = list(title = "Fruit"),
    yaxis = list(title = "Sales")
  )