Replace quotes in an array
So it seems that even although the Craft field is set to number it doesn't actually define a number.

I changed the field from a regular Craft table field to a Super Table field and my {{ donutData|json_encode }} corrects spits out an array of numbers.