Merge pull request #18548 from edx/ai/EDUCATOR-3153-display-word-cloud

Fix display of all words in word clouds.
This commit is contained in:
Attiya Ishaque
2018-07-11 14:20:20 +05:00
committed by GitHub

View File

@@ -309,7 +309,7 @@ export default class WordCloudMain {
.style('font-family', 'Impact')
.style('fill', (d, i) => fill(i))
.attr('text-anchor', 'middle')
.attr('transform', d => `translate(${d.x}, ${d.y})rotate(${d.rotate$})scale(${scale})`)
.attr('transform', d => `translate(${d.x}, ${d.y})rotate(${d.rotate})scale(${scale})`)
.text(d => d.text);
}
}