1
I am developing a program in Node.js that generates reports in . pdf, with tables and graphs. I’ve been searching the internet and found several packages to generate these graphics, such as: D3.js and its variations.
But I still have one question! They all use a web page in their examples, and my application runs only to generate the final product "report.pdf", what I would like to know is, if you have how to generate graphics within the Node (server-side), and export an image. png or . jpg?
If possible I would like to know, how this happens in the code, since, you will not use the "tags" of html, that many modules need to access to display the chart on the page?