Several javascript libraries allow to build wordclouds with d3.js. This post describes the basic usage of d3-cloud. You can see many other examples in the wordcloud section of the gallery. Watch out, wordclouds have many downsides as explained in data-to-viz.com.
div
that will be modified by d3 later on.
svg
area. It specify the chart size and its
margin. Read more.
.csv
d3-cloud
plugin. The first step is to set the
layout
. Basically, it runs an algorithm that
compute the position of each word.