How can I use the d3 library (e.g. c3.js) on the server side to create diagrams in nodejs?

I am trying to create charts using c3js, which is a d3 library to simplify charting.

I see that you can use simple d3 to create server side diagrams using jsdom since there is an npm module for d3. This is the guide that I followed this process: http://www.gregjopa.com/2013/11/render-svg-charts-server-side-with-d3-js/

However, for nvd3 or c3js there is no npm module.

How can I use these server side libraries to create diagrams for client side use?

+5
source share
1 answer

One library that has a Node.js construct, ZingChart . The library attempt is free, but the Node build is for licensed customers. Full disclosure, I am on the ZingChart team. However, if you need more information, feel free to contact.

+2
source

Source: https://habr.com/ru/post/1236652/


All Articles