# STEP 14: Plot 1 - Histogram (distribution)
ggplot(df, aes(x = .data[[num_col]])) +
  geom_histogram() +
  labs(title = paste("Histogram of", num_col), x = num_col, y = "Count")

# STEP 15: Plot 2 - Boxplot by group
ggplot(df, aes(x = as.factor(.data[[group_col]]), y = .data[[num_col]])) +
  geom_boxplot() +
  labs(title = paste("Boxplot:", num_col, "by", group_col),
       x = group_col, y = num_col)