Skip to content

Instantly share code, notes, and snippets.

@hcozart
Created April 29, 2016 15:25
Show Gist options
  • Save hcozart/4f4e439a79d511c6e5208757dda052dc to your computer and use it in GitHub Desktop.
Save hcozart/4f4e439a79d511c6e5208757dda052dc to your computer and use it in GitHub Desktop.
ggplot(data = NYC_Death2, aes(x= Year,y=Count)) +
geom_bar(aes(fill = Ethnicity), position ="dodge",stat = "identity")+
ggtitle("Number of Deaths by Ethnicity and Year") +
ylab(label = "Deaths" )+ scale_fill_brewer(palette = "Set1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment