Skip to content

A full-stack web app to visualize and search redlining maps using MapBox.

Notifications You must be signed in to change notification settings

michaelandrewkearney/redlining-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualizing Redlining

This is a full-stack web app that uses MapBox GL to visualize and search redlining maps produced by the Home Owner's Loan Corporation (HOLC). In the early 20th century, HOLC scored America's urban neighborhoods and systematically denied lending to Black, Jewish, and immigrant Americans. Redlining reinforced the degree and physical scale of racial segregation and discouraged investment in non-white neighborhoods, which caused decades of compounding, racialized inequalities in wealth and access to food, healthcare, education, employment, transportation, and housing that persist today. In the map of Providence below, notice how I-95, I-195, and RI-146 were built through and demolished three out of four redlined neighborhoods including Cape Verdean Fox Point, historically Black Hardscrabble, and Pawtucket's School Street.

This project was developed by Michael Kearney and Lizzy Zhang for a software development class taught by Tim Nelson at Brown University in Spring 2023.

Preview

View digitized redlining maps and grades assigned by HOLC to neighborhoods. Green neighborhoods received an "A", blue ones a "B", yellow ones a "C", and red ones a "D". view Search neighborhoods and click on neighborhoods to read HOLC's description. search

How to use this program

  1. Create a MapBox Access Token.
  2. Store your token by running
    echo 'export const ACCESS_TOKEN: string = "[YOUR TOKEN]"' > frontend/src/private/keys.ts
    
  3. Run Server.java in 'backend'.
  4. Run npm run dev to launch the frontend.
  5. In your local browser, navigate to the localhost URL provided by Vite.

Architecture Notes

This project consists of a React and Typescript frontend wrapping MapBox GL served by a Java Spark backend. We modeled the GeoJSON spec in Java and used Moshi's polymorphic factories to serialize and parse the spatial data. A searcher handles requests from the frontend and caches text and bounding-box queries.

Citations

  • The redlining map data is from the Mapping Inequality project at the University of Richmond.
  • GeoJSON modeling used the spec from the IETF.
  • This project uses Mapbox GL.
  • Serialization relies on Moshi.
  • The frontend server runs on Vite.
  • An SVG icon was made by someone at SVGRepo.

About

A full-stack web app to visualize and search redlining maps using MapBox.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •