How to create charts using NodeJS?
问题 Is it possible to create charts, e.g. bars and pies with custom icons using NodeJS? 回答1: 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. 回答2: You can use any charts library, basically. For example: Google Chart API Chartjs Chartist On your server template code, you might want to output the data using