December 11, 2011

Infinite Jest Visualization

My last blog post reviewed several visualizations of narrative text.  In it I mentioned that I was working on a similar project.  Here is version 1.0 - a visualization of David Foster Wallace's amazing book Infinite Jest.



I created the visualization using D3.js.  It's essentially a scatter plot in which each scene is represented by a dot.  The scenes are arranged along the x-axis in the order they occur in the book, and are chronologically positioned along the y-axis.  You can use the interactive version if you have a "modern" browser, i.e. recent versions of Firefox, Chrome, Opera and Safari.  IE users will have to make do with the images in this post.

The main ideas I was interested in visualizing were what happened, when, and who was present.  The when question is particularly interesting due to Wallace's use of Subsidised Time.  It became clear as I was preparing the data that much of the book is set during the Year of the Depend Adult Undergarment, but I pressed on with the visualization anyway.

Mouse-over a scene's dot and a summary of the scene is displayed below the chart.  Names of the characters present in the scene are highlighted in the legend to the right of the chart.  You can also mouse-over a character's name in the legend, which will highlight those scenes in which the character makes an appearance.

Not all scenes can be pinned down to a particular date; for some only the year is known (in such cases the scene's dot is positioned at the start of the year).  Some scenes have no obvious date so they're located at the bottom of the chart; the unspecified year.

Highlighting particular characters you can sometimes pick out narrative threads, for example the conversation that takes place between Remy Marathe and Hugh/Helen Steeply on the outcropping overlooking Tucson, Arizona.



I'd also like to be able to visualize references to characters.  James ("The Mad/Sad Stork") Incandenza is referred to often but is present in only a few scenes.  So too the final scenes where Don Gately is in hospital refer to characters (and events) earlier in Don's life but those characters, e.g. Gene Fackelman and Whitey Sorkin, aren't present in the hospital scenes, and so don't appear in this visualization.  Something for version 2.0 perhaps.

I'm indebted to Dr. Keith O'Neill who kindly permitted me to use his invaluable Infinite Jest Scene-by-Scene Guide, which forms the basis of the data used in the visualization.  I also relied heavily on The Infinite Jest Wiki.

The visualization is shared using a Creative Commons license, and the source-code is available on GitHub.