All examples By author By category About

tommct

D3 Canvas ImageData w/ Constrained Zooming and Marginal Distributions

Implements constrained zooming of an image constructed from a data-driven ImageData object placed onto an HTML5 Canvas while giving the marginal distributions of the underlying data. Borrows heavily from https://gist.github.com/mbostock/3074470 and https://gist.github.com/tommct/8049508.