Giter VIP home page Giter VIP logo

cpln692-final's Introduction

San Francisco Traffic Congestion Management Program Portal

Final Project for CPLN692 JavaScript Programming

Meiqing Li | MCP '18

Features

This JavaScript application is an interactive tool that visualizes the historic congestion management program (CMP) data in San Francisco. It serves as a prototype for tools to rearrange and visualize SFCTA's big volume of traffic data within the same geographic scope of city, and road segments. It is also a handy public engagement tool to explore changes of traffic congestion between the years 1991 and 2017, all over the city as well as by street types.

The first page is an overview of all CMP segments in San Francisco. The segments can be filtered by street type (i.e. high speed, suburban, intermediate, urban, freeway). When hovering over each segment, there is a popup window showing the CMP segment name. There are two more pages showing LOS for each CMP segment.

Data and Tools

Road features

The map incorporate mainly two sources of geographic features: all road segments in San Francisco, and CMP segments. The SF road segments come from a TIGER/Line shapefile, and serves as the base layer. The CMP segments come from a subset of SF roads, from SFCTA data warehouse.

CMP monitoring data

The CMP traffic monitoring data come from SFCTA's data warehouse, which includes 14 years' LOS data of each CMP segments between 1991 and 2017 (not every year's data are available). Data preprocessing includes joining CMP monitoring data to CMP segments, and convert to geojson format. Tools used for data processing include RStudio, CartoDB, and Github gist.

JavaScript Libraries

  • Bootstrap
  • Mapbox GL JS
  • Leaflet
  • jQuery

Visualization

For creating web application, I primarily used HTML, CSS, and JavaScript that links different functions and events.

Special thanks to Yun Shi for solving my confusions throughout the project.

cpln692-final's People

Contributors

meiqingli avatar yuns-stacy avatar

Watchers

 avatar

Forkers

yuns-stacy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.