Hacker News new | ask | show | jobs
by rkthkr 5112 days ago
Anyone got any examples using NVD3.js or d2.js to render charts from constantly updating data? Like reading a websocket stream or query a json source every 2s and updating chart.
3 comments

This tutorial guides you step by step through a bar chart with dynamic updates (the link is to part 2, which deals with the updating):

http://mbostock.github.com/d3/tutorial/bar-2.html

Perfect, thanks!
I haven't gotten to real time time series... but they will be coming soon.
What is this d2.js? I'm finding nothing about it on Google or Github...
Most likely a typo, I'm fairly sure he/she meant d3.js
d3.js! 2 is too close to 3 :)