Created
April 3, 2022 16:57
-
-
Save SmashedFrenzy16/6e75decd022245f15a6423afe030b0c8 to your computer and use it in GitHub Desktop.
A bar chart made in R that shows people's favorite crisps!
This file contains 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
fav.crisps <- c(30, 21, 10, 13) | |
barplot(fav.crisps, | |
main = "People's Favorite Flavour Of Crisps", | |
xlab = "Number Of Students", | |
ylab = "Crisps Flavour", | |
names.arg = c("Plain", "Chilli", "Cheese + Onion", "Lime"), | |
col = "red", | |
horiz = TRUE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment