Skip to content

blahblahblah-/nypd-complaints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYPD Complaints

A frontend-only React app, providing visualization of civilian complaints against New York City police officers as provided by ProPublica.

Project was started with using Create React App. Uses Mapbox for maps, Nivo for graphs, Semantic UI React for UI elements.

See it live at https://www.nypdcomplaints.com.

Running locally

$ brew install yarn
$ yarn install
  • Sign up for an account with Mapbox, get a token and add it to an .env file as REACT_APP_MAPBOX_TOKEN.

  • Download datasets from ProPublica, drop CSV file into data/

  • Download NYC Police Precincts map data, drop geojson file as src/data/precincts.json

$ node scripts/generateDataJson.js
$ yarn start

About

Visualization of civilian complaints against New York City police officers as provided by ProPublica.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published