Demo: https://jsfiddle.net/jbwL9tc0/
Code:
var myConfig = {
"graphset":[
{
"type":"wordcloud",
"options":{
"text":"Please welcome John to the company. Please welcome Jane to the company. Welcome Bob. Welcome Amy. Welcome Kim.",
"min-length": 3,
"ignore": ["the"]
}
}
]
};
Result: Both "welcome" and "Welcome" are shown in the cloud.
Is there a way to display only one of the same word? E.g. If "Welcome" exists, ignore "welcome". Or count "welcome" towards "Welcome" but hide it in the cloud.