Home > Software engineering >  Export manually edited htmlwidget to SVG or similar
Export manually edited htmlwidget to SVG or similar

Time:06-21

I often create Sankey-diagrams in R via enter image description here

Question

My goal is to insert the edited diagram into a word-document in the best possible quality. So I guess I want to know how to export the edited html-file to a SVG format or similar?

CodePudding user response:

Open the result in a browser, make any manual adjustments you want, then use an SVG extractor like https://nytimes.github.io/svg-crowbar/ to save it as an SVG.

  • Related