jasondavies / d3-cloud

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

Overlapping in word cloud when words still have 'sprite' attribute #157

Open iamcoleman opened 5 years ago

iamcoleman commented 5 years ago

I'm getting overlapping in my word cloud when the words in my word array still have the 'sprite' attribute. On the d3.layout.cloud() when I console log the output on end - .on('end', output => console.log(output)) - there is no overlapping when the individual words don't have the sprite attribute, but there is a lot of overlapping when the words do have the sprite attribute.

Any ideas?