Category Archives: dataviz

How did I end up reading a 30 year old book on density estimation?

Simple, I wanted to make violin plots for efficiency scores, and they shouldn’t have any density below zero. Here is a sneaky way to sneak such a figure out of Python/Seaborn:

The truncation makes them look more like gyro meat than violins.

Leave a comment

Filed under dataviz

Tables of Stacked Bars in mpl (but not mpld3)

Here is a little feature in Matplotlib that I never saw before: stacked bar plots with tables attached. Perhaps too ugly for my Iraq Mortality stacked bar charts, but definitely handy for exploratory work.

I learned about it because it doesn’t work in `mpld3`… just one more benefit of being part of an open-source project. It would be so cool to have a `mpld3` version with some interactivity included, since interactivity can address one pitfalls of the stacked bar chart, the challenge of comparing lengths with different baselines.

Comments Off on Tables of Stacked Bars in mpl (but not mpld3)

Filed under dataviz

Pretty bug in mpld3

It’s not quite d3-broke-and-made-art quality, but I like the plot in this bug report:

Comments Off on Pretty bug in mpld3

Filed under dataviz, software engineering

Interactive Horizontal Bar Charts

Some notes on them here:


Comments Off on Interactive Horizontal Bar Charts

Filed under dataviz, software engineering

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.

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.


Comments Off on Stephen Few on Display Platforms

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 on SciPy2014 Plotting Contest

Filed under dataviz