All examples By author By category About

stepheneb

D3 Example: zoom, pan, and axis rescale

This example is a mashup of the D3 Zoom-Pan example along with Ricardo Marimon's example of X-axis re-scaling by dragging.

Most of the UI should also work with the touch events generated by a tablet or SmartPhone.

source: gist.github.com/1182434

D3 References:

D3 Tutorials:

External D3 Tutorials

SVG Graphics