Skip to content

Instantly share code, notes, and snippets.

/choropleth
Created Aug 4, 2016

Embed
What would you like to do?
Create choropleth map
data(df_pop_county)
ny_choro <- df_pop_county[1829:1890,]
ny_choro$value <- (subset(crime$Density.sq.mi, Year==2000))
county_choropleth(ny_choro,
title = "New York Population Density by County",
legend = "Density",
num_colors = 1,
state_zoom = c("new york"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.