且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用NodeJS创建图表?

更新时间:2023-01-25 08:03:13

d3 可能是你***的选择。

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.