getting d3 chart setup