Save SVG in JS
To save a SVG when it is rendered in the page, you can write this in the console:
1 | var svgData = $("#figureSvg")[0].outerHTML; |
Reference
How do I save/export an SVG file after creating an SVG with D3.js (IE, safari and chrome)?
To save a SVG when it is rendered in the page, you can write this in the console:
1 | var svgData = $("#figureSvg")[0].outerHTML; |
How do I save/export an SVG file after creating an SVG with D3.js (IE, safari and chrome)?