Last active
June 13, 2022 02:54
-
-
Save NuoWenLei/283558cc7b324decf2e22facdd025522 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Rproj.user | |
.Rhistory | |
.RData | |
.Ruserdata | |
*.Rproj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(primer.data) | |
ggplot(data = qscores, | |
mapping = aes(x = rating)) + | |
geom_histogram(bins = 5, | |
color = "white", | |
fill = "coral") + | |
labs(title = "Histogram of Student Ratings of Harvard Classes", | |
subtitle = "Ratings of 1 and 2 are very rare", | |
x = "Rating", | |
y = "Count", | |
caption = "Source: Harvard Q-Guide (2018-2019)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment