generate d3 svg on stream data