Generate d3 svg on stream data