A word tree shows every phrase that follows a word in a text, branching wherever the phrases differ.
The Word Tree visualisation technique was invented by the incredible duo Martin Wattenberg and Fernanda Viégas in 2007. Read their paper for the full details.
Be sure to also check out various text analysis projects by Santiago Ortiz.
Shakespeare and the Analects are from Project Gutenberg; the Hebrew Bible is the Unicode/XML Leningrad Codex (UXLC 2.6) from Tanach.us; and the Thousand and One Nights is the Bulaq edition as published by the Hindawi Foundation.
Created by Jason Davies. Thanks to Mike Bostock for comments and suggestions.