Adding words to existing WordCloud

This demo shows how we can push additional words into existing WordCloud.

Code

All we need to do is to push a data object into WordCloud series data:

series.data.push({ category: "Five", value: 5 });
series.data.push({ category: "Five", value: 5 });

Demo

See the Pen
Adding a word to a WordCloud
by amCharts team (@amcharts)
on CodePen.0

Posted in Uncategorized