anvaka / common-words

visualization of common words in different programming languages
https://anvaka.github.io/common-words
MIT License
505 stars 27 forks source link

Can I print these clouds for my cube #8

Closed crdesai closed 7 years ago

crdesai commented 7 years ago

I love these language clouds and would love to print one to be posted in my cube. I tried printing it from the website but the standard "Ctrl+P" only gets half of the image. Is there a better way to print the image for the word cloud?

anvaka commented 7 years ago

Sure!

I added a function to export svg. Open developer console and type

exportSVG()

It should save the file: export_svg

You can also pass the dimensions of the SVG if you wish:

exportSVG(2048, 2048)