So, I was looking into mpld3 for some larger datasets I have (~700MB on disk) which I could load using square/crossfilter. What would be interesting is being able to do something like:
import matplotlib.pyplot as pl
import numpy as np
import mpld3
# data is a numpy recarray of city information, for example
fig, ax = pl.subplots(1,3)
n, bins, patches = ax[0].hist(data['population'], bins=10)
counts, edges_x, edges_y, im = ax[1].hist2d(data['land_area'], data['wealth'], bins=10)
points = ax[2].scatter(data['latitude'], data['longitude'])
and then be able to do drag/slide selections on the generated histogram to dynamically alter the other two plots to only draw points passing the selection. My guess is that because there's no linking between each "city" among the plots, that this might be too much to ask and it's easier to just use d3
completely?