jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.85k stars 1.07k forks source link

Command line support #145

Closed xuhdev closed 2 years ago

xuhdev commented 6 years ago

People often need a local tool for generating word cloud. It would be awesome if a CLI tool is built upon d3-cloud.

adrianhelvik commented 4 years ago

Use jsdom and save the string of the generated SVG.

jasondavies commented 2 years ago

You can use the example in examples/node.js using the canvas package to generate word clouds without a browser.