render data into d3 graph