title: Server-side SVG generator with NodeJS & Typescript
body: <p>I am looking for a way to create SVGs via NodeJS &amp; Typescript on the server. I tried using <code>D3.js</code> with <code>JSDOM</code> but I struggled with <code>ERR_REQUIRE_ESM</code> errors when importing <code>D3.js</code>. Does someone have another approach to solve this or maybe a snippet?</p>