d3-multiaxis-zoom
1.0.4 • Public • Published d3-multiaxis-zoom
d3 plugin to zoom along multiple axes independently
zooming behaves normally until modifier keys are applied.
meta + zoom
zooms only along the Y axis (⌘ on osx)
alt + zoom
zooms only along the X axis
Usage
Script Tag:
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="../path/to/d3-multiaxis-zoom.js"></script>
<script type="text/javascript">
d3_multiaxis_zoom(d3);
</script>
Browserify:
var d3 = require('d3');
require('d3-multiaxis-zoom')(d3);
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.4
6
Version History
Package Sidebar
Install
Weekly Downloads