Skip to content

piratefsh/mta-maps

Repository files navigation

NYC MTA Subway Traffic Visualizer

A weeks worth of entrances and exits for every station on the NYC Subway system visualized on a map. Filter via lines and zoom in to see station names.

Try it out

Over here!

Where is this data from?

Turnstile data taken from the MTA. Station location processed from chriswhong/nycturnstiles, with the new added 34th St Hudson Yd station.

Development

All source code is in app and public/index.html. Data is located in resources/files in JSON format.

JSON data generated with scripts here, which were scraped with some other scripts.

Serve

This project runs on Webpack. To serve at https://localhost:8080/webpack-dev-server:

webpack-dev-server --inline  --content-base public/ 

Build

To compile for production:

webpack --config webpack.config.js

To-do

Currently only displays data for a week, although it can technicaly display data for any period of time, given the right data in JSON. Possible work: build a proper API for that purpose.

Inspiration

This project was built at Recurse Center, Fall 2015 and was inspired by fellow Recurser Harry Truong and this article: Visualizing the MTA's Turnstile Data

About

Map of MTA Subway stations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published