d3-brush-lite
v1.0.5
Published
Select a one- or two-dimensional region using the mouse or touch.
Downloads
50
Maintainers
Readme
d3-brush-lite
is modified version ofd3-brush
.- Author of
d3-brush
is Mike Bostock. Here is the link to its homepage: https://github.com/d3/d3-brush - Author of
d3-brush-lite
is Peter Kerpedjiev (blog EmptyPipes). Peter created this code for his block sample here. - Peter Kerpedjiev created
d3-brush-lite
because the originald3-brush
in D3 v4 captures the shift, alt and meta keys to perform some actions by default. To get around this, he forked d3-brush and modified it so that it doesn't capture the shift events. The new version (d3-brush-lite) can be found on github. - This repo is almost 100% forked from Peter's repo. It is published to npmjs solely for convenient installation into personal nodejs-based project.