changed to chart.js and added example