plot using d3js