adds charting via the chart.js library