3 ms·
Any time I encounter a charting or data visualization library, the first thing I look for is how difficult is it to export the charts to PNG. In most cases you
by wilsonfiifi 4y ago
Any time I encounter a charting or data visualization library, the first thing I look for is how difficult is it to export the charts to PNG.
In most cases you’ll find out that they require you to install node.js to accomplish that. It will most likely involve rendering the chart using jsdom and then triggering the “click to export” button to generate the PNG file.
This seems like such a convoluted process and I can’t help but feel there must be a much simpler/cleaner way to go about it.
So far, Pygal [0] seems to be one of the few that gets it right in my opinion. The only drawback is that the charts aren’t as “pretty”.
[0] https://www.pygal.org/en/stable/index.html https://www.pygal.org/en/stable/index.html