Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 775 Bytes
this_tot <- tot%>%filter(year==2016)
ggplot(aes(x=from_pct,y=to_pct,fill=cut(within_pct,5,include.lowest = TRUE)))+
scale_fill_brewer(palette = "RdYlBu",direction = -1,name='Internal Rate')+
geom_point(aes(size=chosen),show.legend = FALSE,data=this_tot)+
theme_minimal(base_size = plot_size)+
labs(title='Inflow, Outflow and Internal Firearms Rate per 100',
subtitle='Label Attributes: Higher grades reflect stricter gunlaws, * reflects state with background checks',
caption = "Sources: Bureau of Alcohol, Firearms and Explosives (2016)\n Law Center To Prevent Gun Violence",
x='Outflow Rate',y='Inflow Rate')
You can’t perform that action at this time.