Skip to content

nabilhassein/nyc-summons-precinct-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is an interactive map visualizing the number of criminal court summonses by precinct in New York City.

I chose this as a simple project for me to learn some data visualization using D3.js,
modern front-end tools and techniques like React, Redux, webpack, Babel, npm,
and related topics such as data cleaning and exploratory analysis with Python/pandas.

See it live

https://nabilhassein.github.io/nyc-summons-precinct-visualization/

Running locally

After git clone-ing this repo, from within the directory:

npm install  
npm run build  
npm run start  

Then the map should be live on localhost:8080. Let me know if these steps don't work on your machine so I can fix the issue.
Also let me know of any suggestions you have to improve the code. I'm new at this frontend stuff.
Tips about styling, whether inline React or CSS, would be especially appreciated!

Data sources

A few useful examples

Possible future work

  • add ability to show/hide all tooltips
  • figure out how to show svg titles (used for precinct tooltips) on mobile
  • improve use of whitespace on mobile
  • add more precinct-based datasets!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published