export chart to excel javascript code example
Example: create chart in excel using javascript
Well you can easly do charts with char.js libarary. It plays with your data and a Html5 canvas, here is the link:
https://www.npmjs.com/package/chart.js
Hope it's what you are searching.