JSPM

  • Created
  • Published
  • Downloads 4199004
  • Score
    100M100P100Q216908F
  • License BSD-3-Clause

Package Exports

  • d3-brush
  • d3-brush/index

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (d3-brush) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

d3-brush

Installing

If you use NPM, npm install d3-brush. Otherwise, download the latest release. You can also load directly from d3js.org, either as a standalone library or as part of D3 4.0. AMD, CommonJS, and vanilla environments are supported. In vanilla, a d3_brush global is exported:

<script src="https://d3js.org/d3-color.v0.4.min.js"></script>
<script src="https://d3js.org/d3-dispatch.v0.4.min.js"></script>
<script src="https://d3js.org/d3-ease.v0.7.min.js"></script>
<script src="https://d3js.org/d3-interpolate.v0.8.min.js"></script>
<script src="https://d3js.org/d3-timer.v0.4.min.js"></script>
<script src="https://d3js.org/d3-selection.v0.7.min.js"></script>
<script src="https://d3js.org/d3-transition.v0.2.min.js"></script>
<script src="https://d3js.org/d3-drag.v0.2.min.js"></script>
<script src="https://d3js.org/d3-brush.v0.1.min.js"></script>
<script>

var brush = d3_brush.brush();

</script>

Try d3-brush in your browser.

API Reference

# d3.brush()