Skip to content

Instantly share code, notes, and snippets.

@Tadge-Analytics
Created August 13, 2023 00:09
Show Gist options
  • Save Tadge-Analytics/79e4b67d00092c3d329ff21680b14ae5 to your computer and use it in GitHub Desktop.
Save Tadge-Analytics/79e4b67d00092c3d329ff21680b14ae5 to your computer and use it in GitHub Desktop.
library(tidyverse)
my_penguins_plot <-
palmerpenguins::penguins %>%
filter(!is.na(sex)) %>%
ggplot() +
aes(bill_length_mm, body_mass_g, col = species) +
geom_point(size = 5, alpha = 0.85) +
theme_minimal(base_size = 16, base_family = "Source Sans Pro") +
labs(x = "Bill length (mm)",
y = "Penguins weights (g)",
title = "Penguins from the Palmer Achipelago",
color = "Species")
my_penguins_plot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment