block by veltman 77679636739ea2fc6f0be1b4473cf03a

Click-to-zoom via fitSize

Full Screen

Click-to-zoom using projection.fitSize() to interpolate a projection’s scale and translate instead of modifying the SVG transform. Has the advantage of leaving stroke-widths alone and the disadvantage of probably being a lot slower.

See also: click-to-zoom via transform

index.html