2π
β
At the moment you cant use object notation for doughnut/pie charts, there is an enchancement issue open currently in their repo for this: https://github.com/chartjs/Chart.js/issues/9440
So you will need to transform your object to the normal labels and data array first if you want to show your data as a pie/doughnut chart
Source:stackexchange.com