Skip to main content
100%

Fork of D3 Zoom

✓ Published0🌍 Public
KKhanin Sisaengsuwanchai
Last edited Jun 1, 2023
Created on Jun 1, 2023
Forked from D3 Zoom

This example demonstrates interactive zooming and panning on an SVG canvas. A group of circles connected by lines, generated from trigonometric functions in `utils.js`, responds to mouse wheel and drag gestures through the `d3.zoom` API. The zoom behavior applies a scale transform to the container group, respecting a scale extent between 0.5x and 4x. The SVG output is created with the `select` and `append` methods from the `d3` v7 library.

AI-generated description
MIT Licensed

Similar vizzes