Autoplotter: Tutorial
She needed to explore relationships fast. But making 50+ plots in ggplot2 manually? No time. “There has to be a function that just… plots everything smartly.” That’s when she found autoplotter . # install.packages("autoplotter") # hypothetical library(autoplotter) library(ggplot2) # autoplotter builds on it data <- read.csv("coral_bleaching_2025.csv") The magic function auto_plot(data)
Her final discovery plot:
auto_plot(data, point_alpha = 0.6, boxplot_fill = "skyblue", theme_use = "minimal", max_cat_levels = 10) # ignore high-cardinality columns For even more control, she used : autoplotter tutorial
auto_scatter(data, x = temperature, y = bleaching_score, color = treatment) + geom_smooth(method = "lm", se = FALSE) + labs(title = "Bleaching increases with temperature, worse in control") Still one line of code for the plot, but now custom. Her PI said: “Can you send me all the key relationships by tomorrow?” She needed to explore relationships fast
auto_shiny(data) # launches a Shiny app with dropdowns for x/y/facet Using auto_plot() , Alia noticed something unexpected: In sites with fish_diversity > 6 , the temperature ~ bleaching_score slope was nearly flat. She never would have thought to facet by that without the automated exploration. “There has to be a function that just…
