Skip to content

Instantly share code, notes, and snippets.

@hcozart
Created April 29, 2016 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hcozart/97f97244c91a599d3d52f23205a6d051 to your computer and use it in GitHub Desktop.
Save hcozart/97f97244c91a599d3d52f23205a6d051 to your computer and use it in GitHub Desktop.
ggplot(data = NYC_Death2, aes(x= Year,y=Count)) +
geom_bar(aes(fill = Sex), position ="dodge",stat = "identity")+
ggtitle("Number of Deaths by Sex 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