Hot answers tagged


The elements of the input list should be of the form {Button[$string_i$, $action_i$], $weight_i$} or,for unweighted data, just Button[$string_i$, $action_i$]. So WordCloud[{Button[#[[1]], Print@#], #[[2]]} & /@ entities] works as expected: You can remove the braces around Button[...] in your code to get an unweighted word cloud: WordCloud[Button[#[[1]]...

Only top voted, non community-wiki answers of a minimum length are eligible