A pie chart with d3js a learners thought