hello, Im aware this is an issue posted before, but I've tried all the solutions and nothing has helped. I've made sure the layout for the cloud includes this:
.text(function(d) { return d.text; })
and I've made sure layout font and draw functions both have the same font-family
.font("sans-serif") --- inside layout
.style("font-family", "sans-serif") --- inside draw function
but I still keep getting the overlapping words issue. I followed this site for my code https://using-d3js.com/07_01_word_clouds.html
any help would be appreciated! it seems the two solutions I mentioned are what fixes it for everyone but mine. thank you!
hello, Im aware this is an issue posted before, but I've tried all the solutions and nothing has helped. I've made sure the layout for the cloud includes this:
.text(function(d) { return d.text; })
and I've made sure layout font and draw functions both have the same font-family
.font("sans-serif") --- inside layout .style("font-family", "sans-serif") --- inside draw function
but I still keep getting the overlapping words issue. I followed this site for my code https://using-d3js.com/07_01_word_clouds.html any help would be appreciated! it seems the two solutions I mentioned are what fixes it for everyone but mine. thank you!