Word Storms

Word Storms

Word clouds that line up, so you can compare documents. Make one cloud per document: words they share keep the same place, color and angle in every cloud, so similar documents look similar and what's distinctive stands out.

Hover a word to find it in every cloud. Click to pin it.

How it works

  1. Pick the words. We take each document's most frequent words and skip common ones like "the" and "and". If you ask for it, words a document uses more than the others get a boost.
  2. Line up shared words. A word that appears in several documents moves toward the average of its positions, one cloud at a time, until it stops moving.
  3. Tidy up. A force layout pulls each word toward where it sits in similar documents, pushes overlapping words apart and keeps the clouds compact.
  4. Fill in. Words that only one document uses go in last, around the shared ones.

The full algorithm is on GitHub, and the paper explains the method and how we tested it.

Why not just make separate clouds?

These are the same six collections twice, with the same font and colors. In the word storm, a word keeps its place and color in every cloud it appears in. Follow “king” and you’ll find it in the same spot in Grimm, Perrault, the Arabian Nights and the Japanese tales. Grimm has the most in common with all the others. Aesop is the exception: his fables are about foxes, lions and wolves, and only 9 of his 40 words show up anywhere else (hare and monkey turn up in the Japanese tales too). That’s why most of his cloud is thin, which is how this storm marks words no other collection uses. The separate clouds were each made on their own, the way most word cloud tools make them, so words land in a new place and color every time and you can’t see any of this. Aesop just looks like one more cloud.

Word stormShared words line up
Six separate cloudsEach one made on its own

Hover a word to find it in the other clouds.