Interactive map: 2022 New Jersey congressional redistricting

The New Jersey Congressional Redistricting Commission recently wrapped up the process of redrawing the state’s congressional districts based on new Census data. These new districts will take effect beginning this year and shape congressional elections for the next decade.

The controversial, closed-door process resulted in the Commission’s chair, former New Jersey Supreme Court Justice John Wallace selecting the Democratic Party’s map.

Following the adoption of the map, the Commission released PDF copies of maps that denote the split between municipalities. The PDFs aren’t that great for zooming in to see the precise differences, and a GIS shapefile didn’t become available until later.

The Commission subsequently released a shapefile that shows the precise boundaries of each congressional district, which I processed andvisualized below in an interactive map:


I created the above map using the following R code:


# Read in shapefile, arrange by district number
# Source:
shape <- st_read("NJCD_2021_ADOPTED_DEC22.shp") %>% 
  arrange(as.numeric(DISTRICT)) %>%
  mutate(DISTRICT = factor(DISTRICT,ordered = TRUE, levels = c(1:12)))

# Create color pallete
factpal <- colorFactor(cartography::carto.pal("multi.pal",13), shape$DISTRICT)

# Build the map
leaflet(shape) %>%
  addTiles() %>%
  addPolygons(stroke = FALSE, smoothFactor = 0, fillOpacity = 0.6,
              fillColor = ~factpal(DISTRICT),
              label = ~paste("Congressional District",DISTRICT)) %>%
  addLegend(title = "NJ Redistricting",pal = factpal, values = ~DISTRICT, opacity = 1.0)

Edit this page

Gavin C. Rozzi
Gavin C. Rozzi
Pushing the boundaries of data, technology & public policy

Gavin Rozzi is a data scientist from New Jersey. Gavin studies urban informatics, environmental factors affecting the spread of COVID-19 & public policy development.

comments powered by Disqus