title: how to scrape real-time data and load it into cubism.js
body: <p>I want to gain experience using <a href="http://square.github.com/cubism/" rel="nofollow">cubism.js</a></p>
  
  <p>I found this dataset <a href="http://207.251.86.229/nyc-links-cams/LinkSpeedQuery.txt" rel="nofollow">nyc real-time traffic</a> I want to graph.</p>
  
  <p>I need some tips on how to get this done.
  I know I can use python to query the txt file every N minutes. I would then store the last M minutes of traffic data server-side.
  When the user visits the site, the server will serve the last M minutes of data. But then what? The client queries the server via cubism.js? or does the server push updates to the user?</p>
  
  <p>I've read through the <a href="https://github.com/square/cubism/wiki" rel="nofollow">cubism.js wiki</a> but there aren't any examples on how to do this without cube or graphite.</p>
  
  <p>Also, this would be my first project since my jsp days, so any tips on that front are welcome as well.</p>