Use d3js to display chart