connects d3 to web sockets