TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Output visualizations to SVG rather than PDF

1 pointsby sgorayaabout 6 years ago

1 comment

jstewartmobileabout 6 years ago
This all works very nicely until it&#x27;s time for back-end rendering and&#x2F;or sanitation. At that point, it becomes a shotgun-wedding to wkhtmltopdf, React server-side rendering, bespoke Node scripts w&#x2F; SVG DOM subsitutes, or all of the above.<p>Nobody&#x27;s going to notice five more dependencies out of the hundreds already in package.json, and everyone already drank the kool-aid on a gig of RAM and a supercomputer as table-stakes for generating a five-page PDF, so go for it!