In the Community Demographic tab, the map does not show up as follows:
I uploaded my dorling file in the Github and used the codes:
# DATA STEPS
# load dorling cartogram from github
# map already contains census data and groups from clustering
github.url <- "https://raw.githubusercontent.com/asukajames/DC/main/DC_dorling.geojson"
DC <- geojson_read( x=github.url, what="sp" )
# reproject the map
DC2 <- spTransform( DC, CRS("+init=epsg:3395") )
# convert the sp map format to
# an sf (simple features) format:
# ggmap requires the sf format
DC.sf <- st_as_sf( DC2 )
# separate out the data frame from the map
d <- as.data.frame( DC.sf )
In the Community Demographic tab, the map does not show up as follows:
I uploaded my dorling file in the Github and used the codes:
I changed the xmin/max and ymin/max in Out put:
Any advice would be greatly appreciated!