WordCloud with hover effects on words

Type demo

This demo shows how we can add background color to the WordCloud labels, as well as change their appearance on hover. Code Note the setStateOnChildren: true and interactive: true in label configuration. The former ensures that “hover” state is triggered on all label children, including background, when it is hovered. The latter makes label “interactive”. […]