I am rendering a SVG element into the DOM with D3.js and want the user to be able to download that generated file.
The easiest way is to use the SVG Crowbar, but I really want that feature in my application. You can have a look on my application, if it helps you understand my problem: Angular 6 - D3js - Application
If you do not know any node package, that I could use for that, please consider to give me some advice how to build such module to distribute it for the rest of the world.