Following up on the sparklines implementation, I have a dichotomous sparkline implementation now. These are the same type of simple, “word-size graphics” except they visualize something that is either on or off (with an optional neutral value). For example, my favorite baseball team the Chicago Cubs have started this season 9-5.

For completeness, here are the standing for the NL Central as of last night:

Houston 10-5
Chicago Cubs 9-5
Cincinnati 9-6
St. Louis 9-6
Milwaukee 8-7
Pittsburgh 5-12

Here is the code and docs.

See previous posts about sparklines and Tufte’s book.