File Exchange Pick of the Week

December 18th, 2009

Sparklines Table 1.0

Bob's pick this week is Sparklines Table 1.0 by James Houghton.

While I have not personally studied the methods of Edward Tufte* I have seen some interesting data visualizations over the years based on his work. I emailed a list of colleagues to see who might loan me his book to look up the reference James included in his submission (thanks for that). A common reply was "Which one? I have three" and it turned out the one James cited had two editions. So I am a little surprised there are not more Tufte plots on the File Exchange, but sparklines is a good start.

The basic idea with sparklines is to keep graphics as compact as possible. The combined plots and tabulated statistics are a neat idea. The fact that dozens of them can easily be seen together is an approach that I know will appeal to many.

James makes it clear in his description that this submission is a beginning. His code includes a list of "to do" items for future enhancement. I love the fact that he submitted early stage work. There is so much potential here. Collaboration might be just the ticket for getting more done faster.

*see also edwardtufte.com

Comments?


Get the MATLAB code

Published with MATLAB® 7.10

One Response to “Sparklines Table 1.0”

  1. Oleg Komarov replied on :

    “Excel dashboards” are based on this approach. Try to google it.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.