All examples By author By category About

cjbassin

Pan & Zoom Axes Slider V4

This example demonstrates using d3-zoom to drive changes to scales’ domains via transform.rescaleX and transform.rescaleY. The transformed scales are used to draw axes. The transform is also applied via SVG transform to the colorful rainbow rect. (The colors are from Nadieh Bremer’s lovely SVG gradient tutorial.)

forked from mbostock's block: Pan & Zoom Axes

forked from anonymous's block: Pan & Zoom Axes Slider V4