mbtaviz/mbtaviz.github.io
mbtaviz/mbtaviz.github.io has 1,078 GitHub stars and 173 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 10:37 UTC. Last push 2023-01-19.
Visualizing MBTA Data
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalVisualizing MBTA Data
Visualizing MBTA Data is a web based interactive visualization that provides a glimpse into the performance and behavior of Boston's subway system.
Check it out: http://mbtaviz.github.io.
See our blog post describing this source code, and wiki pages with detailed explanations of the data format for each visualization. We have also given several talks on this project. Here are the handouts from each:
- MetroWest Data Visualization Meetup - June 12, 2014 goes into detail on visualization design and implementation details.
- Boston Data Visualization Meetup at MIT Media Lab - August 13, 2014 goes into more depth on design and implementation.
- Boston Data-Con - September 13, 2014 goes into even more depth on design and implementation details.
- NEASIST Data Visualization Workshop - January 15, 2015 serves as a reference sheet to all of the free and open source tools used in the making of this project. Slides from this talk are also available. See our blog post for more details and a video of the talk put together by the WGBH Forum Network.
Quick Start
Install node.js
Install
bowerto grab dependencies,lessto compile style sheets andhttp-serverto run the websitenpm install -g bower less http-serverInstall dependencies
bower installCompile less css files into a single stylesheet
lessc --clean-css styles/main.less > styles/main.cssServe up the website
http-serverBrowse to http://localhost:8080/ to see the visualization
Source Code Layout
data\ post-processed visualization data
scripts\ JavaScript files for the visualization and the website
styles\ less CSS stylesheets and main.css that they are compiled into
media\ Opengraph/Twitter Card images
bower.json bower dependencies
favicon.ico map glyph favicon with animation
handout.pdf design and implementation notes
ie.png website rendered to an image for browsers without svg support
index.html landing page
README.md README file that appears on the website's github page
Regenerating Stylesheets
The visualization loads main.css which is generated from all of the less
files in the styles/ directory. If you change any of the less stylesheets
use the less compile to regenerate main.css as described above:
lessc --clean-css styles/main.less > styles/main.css
For more information see http://lesscss.org.
Raw Data
The raw data is available from two sources. A compressed csv file with per-minute turnstile entry and exit counts from each station is made available with permission from the MBTA:
https://github.com/mbtaviz/mbtaviz.github.io/releases/download/data/turnstile_data.csv.gz
NOTE: some stations don't accurately measure turnstile exits, so entry counts will tend to be more accurate.
Also the realtime subway and alert JSON files collected for the month of February are available here:
https://github.com/mbtaviz/mbtaviz.github.io/releases/download/data/raw_subway_data.tar.gz
They are stored in hourly gzipped files in the following format:
subway-line/yyyy/mm/dd/hh/data.json.gz
where each line of the ungzipped file contains a JSON blob polled from the
MBTA's realtime feed described
here. All times use Eastern
Standard time zone.
Creators
Mike Barry
Brian Card
License
Copyright 2014 Michael Barry and Brian Card.
JavaScript source files and less stylesheets released under the MIT License.
All other files including this README, the main web page, and images made available under Github's terms of service
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars