I helped judge a plotting contest for the Scientific Python conference last summer. Who won? I don’t know, and a short web searching binge didn’t find out. A lovely plot took 3rd place, and every entry is here (with sourcecode). Good stuff for seeing how different groups do different tricks, and for checking what still doesn’t work in mpld3.
Category Archives: dataviz
The thing about interactive data visualization is that its not always clear what is useful because it excites my reptile brain, and what is useful for more logical reasons. But I was asking a colleague to add some callouts to a (non-interactive) figure recently when I realized that this is a chance for interactivity to be _obviously_ useful. These finishing touches on a graphic often take me tons of time, and using a command-line plotting program just can’t be the right way to do it. How about an mpld3 plugin that lets me add text callouts interactively? And when I’m done, it can “save” the callouts, by creating the necessary Python script to generate them again? Here it is, in a notebook.
I’ve been having a good time following the development of the mpld3 package, and I think it has a lot of potential for making interactive data visualization part of my regular workflow instead of that special something extra. A few weeks ago, an mpld3 user showed up with an interesting challenge, and solved their own problem quite well.
I finally got a chance to look at it today, and with a little spit-and-polish this could be something really useful for me.
I have added some stylish HTML tooltips to mpld3, make something pretty with them. Demonstration here.
There is an exciting new project in pythonic interactive data visualization that I have my eye on: mpld3. It plays well with matplotlib-based pretty plotting packages, and has the beginnings of a plugin framework for adding custom interactivity.
I used it to mock up a Cartesian fish eye distortion plot, something I’ve wanted for DisMod-MR ever since I learned about it. (Sometimes the interactivity doesn’t work in that notebook, and requires reloading everything… cutting edge software has some rough edges.)
The author of one of the best books on data visualization is giving a massively open online course (MOOC) this fall. I’m going to check it out. You may be interested, too.
This may come in handy: http://gangerolf.blogspot.com/2012/09/norway-in-geojson.html
I know I have seen a nice one for USA somewhere as well.