Tuesday, 24 March 2009

A time for small multiples, and a time to smush it all together

I'm currently locked in struggle at work with the creators of a trainwreck of a graph that I'm responsible for maintaining, that smushes a zillion lines together. I've suggested, as someone with a professional knowledge of these things, that a small multiple might get less headscratching at meetings, less time spent trying to decipher the mess, and more time spent considering and acting on the data. But graphs are one of those things that all managers think they are qualified to have an opinion on, so they're like "we want all the values on one graph so we can compare them", oblivious to the fact—observed at those meetings—that they are unable to compare them.

On the other hand, Patrick Ottenhoff at The Electoral map shows two maps of US states: one shows the states with a county named "Lincoln", and the other that shows states with a county named "Lee". Have a look at the two, then see this one, mashed up in a few seconds with Paint Shop Pro and 50% opaque layers.



There's no loss of clarity, and a considerable gain, in my humble opinion, in the ability to keep all the facts under observation without eye movement. (that's why Tufte called them *small* multiples, because large would mean too large a distance for the eye to travel)

By the way, there's also no reason for them to be jpegs. This PNG is 17K, compared to the originals which are over 100K. And yet the PNG loses no detail (ignore the superimposed text :-)

Thursday, 12 February 2009

Happy Birthday Charles Darwin

and Abraham Lincoln too. Not to disrespect Lincoln, it's just that I can't offhand think of an information graphic hook to hang his birthday on. Darwin has this:



The tree format can't have been new; it's inherent in the Linnaean classification system (although the tree diagram's logical equivalent, the system of nested boxes, is probably closer to the original thought there) but the picture from Darwin's notebooks is a fascinating snapshot of a mind groping toward a mechanism for the descent of species from species. And the resemblance to a family tree can't have been lost on a scion of the famous Darwin-Wedgewoods.

Saturday, 3 January 2009

Sorting and grouping

Visual tables
Visual intelligence is arranging a set of facts on a page or screen so their implications are comprehensible instead of incomprehensible, and sorting and grouping can help a lot. A common example in published stats is the American states: there are fifty of them (plus the District of Columbia), and that's a lot to take in in one go, so some sorting would help.

Unfortunately the most common sorting for states is the notorious "Alabama first" system of simply listing them in alphabetical order. This might sound like a good idea if you haven't got a better one, but the question is, why haven't you got a better one? There's almost always a pattern you can use, and if there isn't you should seriously ask yourself why you're bothering with a graphic at all.

Consider this visual table (or reorderable matrix, as Bertin calls them) showing the state results of US presidential elections: (you can click on all these tiny graphics to see a larger and I hope more readable version, though I'm trusting to Blogger's HTML settings on this occasion)

You can vaguely see the ebb and flow of party wins over the whole country, but, sorted alphabetically by state abbreviation, this data set could be impossible to come to any more detailed conclusions about. But sort it by most recent results......and a pattern begins to emerge, showing which states have been most steady (at the left and right sides of their regional boxes) or most "swingy" (vacillating in the middle).  Now group it (even if naively) into three regions and some things become even easier to see.Notice the switch over between north and south in the sixties.

Pie Charts
Jorge Camoes has recently defended the pie chart, which has a bad reputation for looking like this:He points out that with a bit of sorting and grouping, it can look more like this:
Actually, the first example was already sorted and grouped, but you wouldn't know it from the chaos of colours, which tells us that grouping is no good unless it's properly depicted, using colour fields, dividers, and group labels. By sorting and grouping, and showing the grouping, you can turn a large number of confusing values into something people can make sense of. I can't say it exactly makes me like pie charts, but it makes them less horrible.