node socket.io and d3 visualization