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.
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
- Ch 3, "Working with Time Series Data"
- Ch 4, "Working with Large Datasets"
- Ch 5, "Window Functions, Subqueries, and Common Table Expression"
- lead() window function in console (not in app)
- subquery, CTE in console (not in app)
- CTE + heatmap (fd39ec6)
- Ch 10, "Making Maps with Leaflet and Rails"
- Weather stations map (ff628eb)