I really ought to polish this off and post it on Github or somewhere. I've slightly tweaked it since last time: the base LJ stylesheet includes an unhelpful "height: auto !important" style on IMG tags which breaks the fancy bar graph. The Stat-o-matic now retaliates with its own CSS sledgehammer (now with valid CSS)!