score:0

because you're not updating the chart

chart.data.datasets.data = arr;
chart.update();

Related Query

More Query from same tag