m0j0l
Re:I Peeked into My Node_Modules Directory and You Won’t Believe What ...
on Saturday August 06, 2016 @05:19AM (#12237585)
Guys, it's satire. Pretty good satire (the code block where he keeps mistyping bash commands should have given it away).
Also note how the author's tagline is 'javascript clickbait enthusiast' :-)
Re:D3 v4.0.0 released
on Tuesday June 28, 2016 @04:42PM (#11997391)
Not sure if it fits your use case, but; for one project I needed to have charts that the user could modify in their browser, and once they were happy they could hit 'download PDF' to get a PDF version.
Achieved this by (admittedly slightly clunky way) of sucking the SVG out of the chart and sending it to the server via ajax. Server intercepts SVG and passes it to inkscape which does pretty good command line svg -> pdf... then, sends back completed PDF.
One gotcha is that you won't get any CSS this way, so all styling has to be done via SVG props.