sample sinatra app, using d3.js for visualizing