update: final changes to use PHP data in chart.js