An Angular2 app written using TypeScript to visualize San Francisco map using d3.js with real-time bus data from NextBus API.
- Route tag filtering with multi-select on SF Map
- Vehicle position refresh every 15 seconds with transition
- Zoom into specific area using double-click (no zoom out unfortunately).
- NPM and Node.js
angular-cli
npm package
In root directory:
npm install
ng serve
Implemented 10/10 unit tests in the spec files running successfully. Run npm test
to see karma.js
report. Most of the tests are in the service components.