Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rkthkr
· 14y ago · 0 comments
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.
Comments
[–]
yesbabyyes
14y 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
[–]
rkthkr
OP
14y ago
Perfect, thanks!
[–]
bobmonteverde
14y ago
I haven't gotten to real time time series... but they will be coming soon.
[–]
SkyMarshal
14y ago
What is this d2.js? I'm finding nothing about it on Google or Github...
[–]
ansman
14y ago
Most likely a typo, I'm fairly sure he/she meant d3.js
[–]
rkthkr
OP
14y ago
d3.js! 2 is too close to 3 :)