Skip to content
JS
Package

d3-brush

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

v3.0.0, 10 Jun 2021ISCESM onlyTypes: NoneCharts and data visualisation
$ npm install d3-brush

Key numbers

As of 25 Sept 2026
Weekly downloads
15.1m
+284% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
5 years ago
v3.0.0
GitHub stars
155
55 forks
Open issues / PRs
8 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 19.9m (25 Aug 2026)Low 2.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,052,586 downloads last week, 74,109,726 in the last month. The 12-month change of +284% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
033 in total
Latest version
3.0.0, 10 Jun 20215 years ago
First published
29 Feb 2016
Last push to GitHub
6 Oct 20231,084 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
261

Major versions

  1. v3 first release 3.0.0, 10 Jun 2021
  2. v2 first release 2.0.0, 23 Aug 2020
  3. v1 first release 1.0.0, 24 Jun 2016
  4. v0 first release 0.0.1, 29 Feb 2016

Recent releases

VersionPublished
3.0.010 Jun 2021
2.1.026 Aug 2020
2.0.126 Aug 2020
2.0.023 Aug 2020
1.1.613 Aug 2020
1.1.520 Nov 2019
1.1.416 Nov 2019
1.1.321 Aug 2019
1.1.27 Aug 2019
1.1.15 Aug 2019
1.1.02 Aug 2019
1.0.624 Aug 2018
1.0.524 Aug 2018
1.0.410 Mar 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
65 kB
Dependencies (5)
d3-dragd3-dispatchd3-selectiond3-transitiond3-interpolate
npm install d3-brush

CDN

jsDelivr: 3.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/d3-brush@3.0.0/
  • unpkghttps://unpkg.com/d3-brush@3.0.0/
  • esm.shhttps://esm.sh/d3-brush@3.0.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.