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.
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?