lundi 29 décembre 2014

wordcloud2.js or d3 word cloud


For creating a word cloud I started using d3 word cloud, but ran into several issues, for most of them I could see a solution on stack overflow



  1. http://stackoverflow.com/questions/20705036/how-do-i-create-link-of-each-word-in-d3-cloud

  2. http://stackoverflow.com/questions/10692276/d3-js-tag-cloud-size-from-a-json-array

  3. http://stackoverflow.com/questions/14376162/can-it-is-possible-to-use-click-event-in-tag-cloud-of-d3-and-if-yes-how ... and a few more.


Does anyone have experience with both D3 word cloud and wordcloud2.js ? Would it be better to switch to wordcloud2.js from d3 cloud ?


I still have a few issues with d3 word cloud - specially around reactive/scalable design and the documentation and examples seem scarce. The example on http://www.jasondavies.com/wordcloud is cool but the git repo has a much smaller example and I am not too comfortable reverse engineering the website.


I primarily chose D3 word cloud - because of popularity in stackoverflow - but I am wondering if using wordcloud2.js is easier.





Aucun commentaire:

Enregistrer un commentaire