Y
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
yesbabyyes
5112 days ago
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
link
rkthkr
5111 days ago
Perfect, thanks!
link
bobmonteverde
5112 days ago
I haven't gotten to real time time series... but they will be coming soon.
link
SkyMarshal
5112 days ago
What is this d2.js? I'm finding nothing about it on Google or Github...
link
ansman
5112 days ago
Most likely a typo, I'm fairly sure he/she meant d3.js
link
rkthkr
5111 days ago
d3.js! 2 is too close to 3 :)
link
http://mbostock.github.com/d3/tutorial/bar-2.html