observablehq/plot

Panning and zooming

mbostock opened this issue · 12 comments

It would be nice to support pan-and-zoom interaction (à la d3-zoom) in dense scatterplots with Plot. Presumably this would work by altering the scale domains and then re-rendering the plot.

It would be nice if zooming and panning were supported in geo contexts as well.

In the meantime, something along those lines is working https://observablehq.com/d/223f34bca10702a3

Thanks for sharing @jcolot!

@mbostock Will this also include the zooming option for 2D/3D maps?