GithubHelp home page GithubHelp logo

aboudiop / uberbycity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevengoldberg/uberbycity

0.0 2.0 0.0 1.18 MB

Visualizing Uber Data

Home Page: https://resistorsings.com/UberByCity

JavaScript 99.78% CSS 0.17% HTML 0.05%

uberbycity's Introduction

Uber By City

Check out UberByCity live here.

This tool charts either the current price of an Uber trip from the airport to the center of the city, or the current wait time to get an Uber at the airport. You can add and remove cities to the chart with the controls on the left. If a city name is associated with more than one airport, click the bar to cycle through the airports.

Technology

This project was built with React, Redux, d3, and webpack, based on the redux-easy-boilerplate repo. It looks up airport codes from city names using the Developer.aero Airport API, then uses Google's geocoding API to look up coordinates for the airport and the city center, and finally gets current estimates from the Uber API.

Running locally

To run the code locally, you'll have to register for API keys with the 3 services mentioned above, then rename config/development.js.example to config/development.js and place the keys in the appropriate places in that module. Then npm install, then npm start and navigate to localhost:3000.

To-do

  • Better city specification
  • Handle non-USD currency
  • Make it good on mobile

uberbycity's People

Contributors

stevengoldberg avatar

Watchers

James Cloos avatar  avatar

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.