jasondavies / d3-cloud

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

How to draw two wordcloud with different content in one page #105

Closed codefishh closed 7 years ago

codefishh commented 7 years ago

I call the function load() by passing the words as parameters to generate the wordcloud and it works. But when i want to draw two ,it only worked on the last one. And i found the issue maybe about the registered listeners .on("end", draw). Tell me how to generate two pic plzzz..