Dorling cartogram shapefiles for census tracts in US metro areas (one file for each metro).
The project uses the tidycensus and cartogram packages in R to convert regular metro shapefiles available through the US Census into Dorling cartograms.
The cartogram shapefiles for all ~1,000 US metro areas are archived in this repo for easy future deployment.
library( geojsonio ) # read shapefiles
library( sp ) # work with shapefiles
library( sf ) # work with shapefiles - simple features format
# dorling cartogram of Phoenix Census Tracts
github.url <- "https://raw.githubusercontent.com/DS4PS/cpp-529-master/master/data/phx_dorling.geojson"
phx <- geojson_read( x=github.url, what="sp" )
plot( phx )
Jesse Lecy: lecy
Melia Petersen: meliapetersen
Jaesa Rogers: jaesar