All of these can be saved with saveWidget() and embedded in Quarto / R Markdown HTML output — no server or Shiny needed.
# Step 1: build a normal ggplot
ggplot_static <- storms_clean |>
ggplot(aes(
x = pressure,
y = wind,
color = status,
text = label
)) +
geom_jitter(alpha = 0.35, size = 0.9, width = 1.5, height = 1.5) +
scale_color_brewer(palette = "Paired") +
labs(
title = "Wind Speed vs. Pressure by Storm Status",
x = "Pressure (mb)",
y = "Wind Speed (knots)",
color = "Status"
) +
theme_minimal(base_size = 13)
ggplot_static