Giter Site home page Giter Site logo

departures's Introduction

Flight Departures

This repository provides downloadable code for the book, "Data Visualization Toolkit"; see DataVisualizationToolkit.com.

These example programs are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Creative Commons License

To Run

This is a rails app that runs on Ruby 2.2.3. Clone the repo and run:

  • bundle install
  • bundle exec rake db:create db:migrate

Then you can follow along with the book.

Checkpoints

  • Ch 6, "The Chord Diagram"
    • Initial setup (5bf69e6)
    • Import airports and carriers (4d8f846)
    • Import flight departures (uses git-lfs) (abe5a4a)
    • Add foreign keys to departures (44d2064)
    • Chord diagram (d102024)
    • Disjointed city pair chord diagram (60c1d65)
  • Ch 7, "Time-Series Aggregates in Postgres"
  • Ch 8, "Using a Separate Reporting Database"
    • Create reporting schema (7f14609)
    • Scenic gem and materialized view (d7168b7)
    • Bulk insert into table in reporting schema (364840a)
  • Ch 9, "Working with Geospatial Data in Rails"
    • Add PostGIS to departures app (ff68f47)
    • Shapefile import, upsert airports, update lonlat (9a07894)
  • Ch 10, "Making Maps with Leaflet and Rails"
    • Map California airports (0ee6ad5)
    • Airport marker clusters (fe86219)
    • Flight path from CEC to BLH (7ec7ef5)
  • Ch 11, "Querying Geospatial Data"
    • Find items near a point scope (2523a49)

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.