Skip to content
This repository has been archived by the owner. It is now read-only.

DataVizToolkit/residential_sales

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maryland Residential Sales

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

Checkpoints

  • Ch 1, "D3 and Rails"
  • Ch 2, "Transforming Data with ActiveRecord and D3"
  • Ch 5, "Window Functions, Subqueries, and Common Table Expression"
    • Scatter Plot with mortgage pmt (ac2f6c9)
    • row_number() window function in console (not in app)
  • Ch 10, "Making Maps with Leaflet and Rails"
    • Import zip code shapefile and map zip codes (75c7845)
    • Choropleth (6dcae4d)
  • Ch 11, "Querying Geospatial Data"
    • Bounding box in console (not in app)
    • Items near a point in console (not in app)
    • Calculating distance in console (not in app)

About

Companion app for Data Visualization Toolkit

Resources

Stars

Watchers

Forks

Packages

No packages published