How to create charts using nodejs

Can we create charts( bar and pie ) with custom icons using NodeJS, any module ?

Your suggestion will be highly appreciated.

d3 is probably your best bet. It can generate nearly any type of chart imaginable.

You can generate the charts directly in the browser, or if you really need an image file, you can use the module in node and convert the output to an image.

using highcharts

you have to install

npm install -g node-highcharts

refer the following link

https://github.com/davidpadbury/node-highcharts