Select a one- or two-dimensional region using the mouse or touch.


Keywords
d3, d3-module, brush, interaction
License
ISC
Install
npm install d3-brush@3.0.0

Documentation

d3-brush

Brushing is the interactive specification a one- or two-dimensional selected region using a pointing gesture, such as by clicking and dragging the mouse. Brushing is often used to select discrete elements, such as dots in a scatterplot or files on a desktop. It can also be used to zoom-in to a region of interest, or to select continuous regions for cross-filtering data or live histograms.

Resources