Создать диаграмму в Excel с помощью 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.
Santino