Adding d3 API charts