Category Archives: dataviz

Introducing Smudge

I had an inspiration to make something a couple weeks ago for #MakeSomethingDay (the productive alternative to #BuyNothingDay). It is a finger-painting app that neighborhood kids have been enjoying. http://bl.ocks.org/aflaxman/a31763011f9da46fc6d2

sascha's beautiful picture

1 Comment

Filed under dataviz

Stephen Few on Display Platforms

A new issue of Stephen Few’s Visual Business Intelligence Newsletter is out. I love categorizing things like this. I have been thinking of interaction very differently than he has, but everything else seems sensible to me.

Capture

Leave a comment

Filed under dataviz

SciPy2014 Plotting Contest

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.

Comments Off

Filed under dataviz

IDV in Python: adding text callouts to a scatter plot interactively with mpld3

I’ve been pretty interested in the potential of interactive data visualization recently, especially ever since I saw the reaction that the Global Burden of Disease 2010 visualization tool, GBD Compare, received last year. And one promising technology for making this stuff routine is mpld3, a mashup of the Python plotting library matplotlib and the javascript visualization kernel d3. Have I mentioned this before?

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.

Comments Off

Filed under dataviz

IDV in Python: Interactive heatmap with Pandas and mpld3

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.

ihm

Comments Off

Filed under dataviz, software engineering

Stylish tooltips in mpld3

I have added some stylish HTML tooltips to mpld3, make something pretty with them. Demonstration here.

Comments Off

Filed under dataviz, software engineering

Matplotlib and dj3s, together at last

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.)

1 Comment

Filed under dataviz, software engineering