Adapt d3 PieChart code from Riak Control (wip)