Skip to content

CodeWritingCow/hrnyc20-mvp-map-app

Repository files navigation

NYC Gun Homicide Map Screenshot

NYC Gun Homicide Map

This repository contains the source for a Leaflet.js map displaying locations of gun homicides in New York City for the current year.

Each map marker contains an incident date, location and demographic information of victim and suspect. Data comes from an NYPD dataset on shooting incidents.

A dropdown menu allows users to display gun homicides by year (2006 to present).

The repository also contains the code for a Node.js server, which fetches incident data from the Socrata Open Data API. The server then returns the data to the map. The live server is hosted on Heroku.

This map was a MVP project for Hack Reactor NYC Cohort 20.

Requirements

External API Key

Key Dependencies

TODO

  • When user clicks a marker, the app displays URLs to news stories related to the incident.

Author

Gary Pang - garypang.dev

References