https://github.com/d3/d3-zoom
Pan and zoom SVG, HTML or Canvas using mouse or touch input.
https://github.com/d3/d3-zoom
Last synced: about 1 year ago
JSON representation
Pan and zoom SVG, HTML or Canvas using mouse or touch input.
- Host: GitHub
- URL: https://github.com/d3/d3-zoom
- Owner: d3
- License: isc
- Created: 2016-05-02T18:10:00.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T14:48:03.000Z (about 2 years ago)
- Last Synced: 2025-05-05T13:13:16.516Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://d3js.org/d3-zoom
- Size: 534 KB
- Stars: 519
- Watchers: 19
- Forks: 141
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# d3-zoom
The zoom behavior implemented by d3-zoom is a convenient but flexible abstraction for enabling pan-and-zoom on [selections](https://github.com/d3/d3-selection). It is agnostic about the DOM, so you can use it with SVG, HTML or Canvas.
## Resources
- [Documentation](https://d3js.org/d3-zoom)
- [Examples](https://observablehq.com/collection/@d3/d3-zoom)
- [Releases](https://github.com/d3/d3-zoom/releases)
- [Getting help](https://d3js.org/community)