Fix pie chart re-renders

At the moment, we don't give d3 a way to tell what metric is bound to which element, so when we get new metric data, it doesn't know how to update the chart.