1👍
✅
Your question is a bit unclear, though from a brief look into your code I see that
you tried to use a String as a JSON object.
Try replacing
var PieData = company;
with
var PieData = JSON.parse(company);
Source:stackexchange.com