I’m still going through Nathan Yau’s book ‘Visualise This’. Today I was reading about illustration software and the ugliness of python graphs. He’s right. Graphs made using matplotlib don’t usually have a polished look. For my work (beavering Phd student in materials physics), I care little about polish. As long as it is publishable quality, clean to look at and conveys the information correctly, I’m sold. But if I want to put that scripted graph into National Geographic (for example.. I wish!), no one would look twice at it. Most people would probably scrunch up their eyes and turn away. Speaking of matplotlib graphs for the general audience, I did spy them all over Geoffrey Rush’s TED talk. My inner geek was singing for joy! I digress. So, in the name of learning and a sad lack of things to do at home (anything but the dishes!), I decided to try my hand at converting a relatively “unsexy” matplotlib graph into a sexy, appealing one using Inkscape. The data is flawed so please ignore it. I was trying to compare vegetable prices across different stores but I failed to normalise price to weight. Doh!

The process of “prettification” was relatively easy. I did a gaffe and removed the y axis by mistake so I had to recreate it manually but everything else was easy peasy. I stuck to a pastel theme and muted all the colours. I also decided to remove the highlighted regions indicating seasonal and non seasonal vegetables and removed the error bars. I think the final result looks good but I am sure Nathan can teach me plenty more tips on making visualisations look good.

Advertisement