The previous post described how to build a very
basic wordcloud with the
d3-cloud
javascript plugin. This post shows how to make
the size of words proportional to their occurrence.
d3-cloud
plugin.
.word
argument of the
layout
call can recover as many feature as
needed. It is thus possible to give it the size (occurrence)
size
data can be used to be provided
in the .fontSize
argument.