Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Create word clouds in JavaScript.
branch: master

Remove require from main layout file.

This also includes a backwards-incompatible change to module naming when
used with Node.js: instead of require("d3-cloud").cloud, you should now
use require("d3-cloud") directly.

Fixes #28.
latest commit a81e468c68
@jasondavies authored

Word Cloud Layout

This is a Wordle-inspired word cloud layout written in JavaScript. It uses HTML5 canvas and sprite masks to achieve near-interactive speeds.

See here for an interactive demonstration along with implementation details.

Example cloud of Twitter search results for “amazing”


See the samples in examples/.

This layout requires D3. It’s similar to d3.layout.force, in that it’s asynchronous and stateful.

Something went wrong with that request. Please try again.