library(palmerpenguins)
library(ggplot2)
theme_set(light_mode())
penguins |>
gg_point(
x = flipper_length_mm,
y = body_mass_g,
col = species,
title = "Penguins body mass by flipper length",
subtitle = "Palmer Archipelago, Antarctica",
caption = "Source: Gorman, 2020"
)
Run the code above in your browser using DataLab