Working lang d3 piecharts waiting for actual data