Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptCollection
/
d3
Public
forked from
d3/d3
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
d3
src
behavior
zoom.js
on
graphics-pipeline
User selector
All users
All time
Commit history
Commits on Jul 7, 2014
Fix #1933 - set zoom center on zoomstart.
Show description for 4dc9178
mbostock
committed
4dc9178
View commit details
Copy full SHA for 4dc9178
View code at this point
Browse repository at this point
Commits on Apr 22, 2014
Fix #1850 - multiple touchstart targets.
mbostock
committed
31d0712
View commit details
Copy full SHA for 31d0712
View code at this point
Browse repository at this point
Commits on Apr 10, 2014
Code formatting: fix indent.
jasondavies
committed
624f21c
View commit details
Copy full SHA for 624f21c
View code at this point
Browse repository at this point
Commits on Mar 24, 2014
Listen to the touch target.
Show description for f9e00b1
mbostock
committed
f9e00b1
View commit details
Copy full SHA for f9e00b1
View code at this point
Browse repository at this point
Commits on Aug 31, 2013
Tweak return value on touchend.
Show description for 637fa99
jasondavies
committed
637fa99
View commit details
Copy full SHA for 637fa99
View code at this point
Browse repository at this point
Ensure that touch{move,end} listeners are removed.
Show description for ce12fae
jasondavies
committed
ce12fae
View commit details
Copy full SHA for ce12fae
View code at this point
Browse repository at this point
Rename for consistency.
jasondavies
committed
85e738e
View commit details
Copy full SHA for 85e738e
View code at this point
Browse repository at this point
Optimise.
Show description for 36b8a0b
jasondavies
committed
36b8a0b
View commit details
Copy full SHA for 36b8a0b
View code at this point
Browse repository at this point
Use distance instead of d3.event.scale.
Show description for abc9dbb
jasondavies
committed
abc9dbb
View commit details
Copy full SHA for abc9dbb
View code at this point
Browse repository at this point
Commits on Aug 30, 2013
Remove locations on touchend.
Show description for 340b167
jasondavies
committed
340b167
View commit details
Copy full SHA for 340b167
View code at this point
Browse repository at this point
Support simultaneous zooming on multiple targets.
Show description for 4b3795e
jasondavies
committed
4b3795e
View commit details
Copy full SHA for 4b3795e
View code at this point
Browse repository at this point
Commits on Aug 15, 2013
Defer persistence until transition start.
Show description for 1816561
mbostock
committed
1816561
View commit details
Copy full SHA for 1816561
View code at this point
Browse repository at this point
Oops, saved too many bytes.
mbostock
committed
806db97
View commit details
Copy full SHA for 806db97
View code at this point
Browse repository at this point
Save a few bytes.
mbostock
committed
5ea3de2
View commit details
Copy full SHA for 5ea3de2
View code at this point
Browse repository at this point
Interrupt zoom transition on zoomstart.
mbostock
committed
a83d89d
View commit details
Copy full SHA for a83d89d
View code at this point
Browse repository at this point
Smooth and efficient zooming and panning.
Show description for 48a4871
mbostock
committed
48a4871
View commit details
Copy full SHA for 48a4871
View code at this point
Browse repository at this point
First cut at zoom transitions.
mbostock
committed
079db13
View commit details
Copy full SHA for 079db13
View code at this point
Browse repository at this point
Commits on Aug 13, 2013
Merge branch 'zoom-center' into 3.3
Show description for b6b6494
mbostock
committed
b6b6494
View commit details
Copy full SHA for b6b6494
View code at this point
Browse repository at this point
Commits on Aug 10, 2013
Add zoomstart and zoomend events. Fixes #1422.
mbostock
committed
c7461b0
View commit details
Copy full SHA for c7461b0
View code at this point
Browse repository at this point
Commits on Jul 31, 2013
Minor optimisation.
jasondavies
committed
43f439e
View commit details
Copy full SHA for 43f439e
View code at this point
Browse repository at this point
Fix dbltap detection.
mbostock
committed
a85b05e
View commit details
Copy full SHA for a85b05e
View code at this point
Browse repository at this point
Add a few comments.
jasondavies
committed
993017f
View commit details
Copy full SHA for 993017f
View code at this point
Browse repository at this point
Commits on Jul 23, 2013
Fix issue with drag suppression for multitouch.
Show description for 120fb55
jasondavies
committed
120fb55
View commit details
Copy full SHA for 120fb55
View code at this point
Browse repository at this point
Avoid binding multiple touch listeners for zoom.
Show description for 2fd0227
jasondavies
committed
2fd0227
View commit details
Copy full SHA for 2fd0227
View code at this point
Browse repository at this point
Commits on Jul 18, 2013
Isolate temporary state while touching.
Show description for e89b278
mbostock
committed
e89b278
View commit details
Copy full SHA for e89b278
View code at this point
Browse repository at this point
Remove mouse listeners from intended target.
Show description for 2a4277d
mbostock
committed
2a4277d
View commit details
Copy full SHA for 2a4277d
View code at this point
Browse repository at this point
Commits on Jul 12, 2013
Prevent default on dbltap.
mbostock
committed
f281e7c
View commit details
Copy full SHA for f281e7c
View code at this point
Browse repository at this point
Commits on Jul 11, 2013
Separate namespace for d3_event_dragSuppress.
Show description for ba1a411
mbostock
committed
ba1a411
View commit details
Copy full SHA for ba1a411
View code at this point
Browse repository at this point
Commits on Jul 10, 2013
Fix #1381 - separate touch and mouse zooming.
Show description for 6ef0eda
mbostock
committed
6ef0eda
View commit details
Copy full SHA for 6ef0eda
View code at this point
Browse repository at this point
Commits on Jun 30, 2013
Add zoom.center. Fixes #616.
mbostock
committed
83c8824
View commit details
Copy full SHA for 83c8824
View code at this point
Browse repository at this point
Commits on Jun 25, 2013
Generalize d3_event_userSelect for dragging.
Show description for 6293ffb
mbostock
committed
6293ffb
View commit details
Copy full SHA for 6293ffb
View code at this point
Browse repository at this point
Commits on Jun 19, 2013
Don’t mask private variable.
mbostock
committed
065029b
View commit details
Copy full SHA for 065029b
View code at this point
Browse repository at this point
Commits on Jun 13, 2013
Add pinch-to-zoom support for Android.
jasondavies
committed
95812fd
View commit details
Copy full SHA for 95812fd
View code at this point
Browse repository at this point
Commits on Jun 12, 2013
Use user-select: none instead of preventDefault.
Show description for 53cd4d4
jasondavies
committed
53cd4d4
View commit details
Copy full SHA for 53cd4d4
View code at this point
Browse repository at this point
Commits on May 30, 2013
Fix #1198; don’t prevent default on touchstart.
mbostock
committed
735af6e
View commit details
Copy full SHA for 735af6e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.