jasondavies / d3-cloud

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

Generate the same word cloud for the same data #170

Closed micronaut closed 2 years ago

micronaut commented 3 years ago

Hi, is there a way to create the same word cloud when the data does not change? Currently if I refresh the page the cloud visualization changes. Thanks!

vincent commented 2 years ago

To anyone looking for this... you need to use the .random() method to replace the rng function. Not sure how deep the effects are.

In my case, I used prando