We looked but didn't find any good client-side option, but that was
about 6 months ago.
O.
http://groups.google.com/group/d3-js/browse_thread/thread/4673910e42de4be4/63e5e1178861737a
http://groups.google.com/group/d3-js/browse_thread/thread/6904969c40c5c487/b20c508e7e67759f#b20c508e7e67759f
Mike
-bewest
<img src="data:image/png;base64,<BASE64 STRING HERE>" />
Unfortunately it doesn't pick up CSS styles, so you need to explicitly style with d3. If html2canvas picks up CSS, it might be even better. The base64 part will still be relevant once you have your SVG image in a canvas.
I'm working at a company, Boundary, using this method to save PNGs of d3.js visualizations. Works very well, though we did have to rewrite some visualizations to not use CSS.