Open paulkaefer opened 2 years ago
Currently, I take a screenshot to generate images/map.png. Isn't there a way to have D3 export to a file, instead of writing to the webpage? Or is there a JavaScript function that will export the created SVG object as an .svg or PNG?
Currently, I take a screenshot to generate images/map.png. Isn't there a way to have D3 export to a file, instead of writing to the webpage? Or is there a JavaScript function that will export the created SVG object as an .svg or PNG?