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 Chicago Cubs 9-5.

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

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

Here is the code and docs.

See previous posts about sparklines and Tufte’s book.