Skip to content
JS
Comparison

d3 vs react-d3-tree

Charts and data visualisationPackage data 25 Sept 2026
d3v7.9.0, 12 Mar 2024

Data-Driven Documents

$ npm install d3
react-d3-treev3.6.7, 22 Sept 2026

React component to create interactive D3 tree hierarchies

$ npm install react-d3-tree
Metricd3react-d3-treeDifference
Weekly downloads15,246,804174,018d3 87.6x higher
12-month download growth+248%+11%d3 +237 pts
Gzip size---
Minified size---
Dependencies308d3 22 more
Unpacked size851 kB121 kBreact-d3-tree 7.0x smaller
Latest release7.9.0, 12 Mar 20243.6.7, 22 Sept 2026react-d3-tree 2.5 years more recent
Releases, last 12 months0--
First published18 Aug 2011--
GitHub stars113,7641,200d3 94.8x higher
Open issues5135react-d3-tree 130 more
Open pull requests145d3 9 more
Contributors---
Commits, last 52 weeks271react-d3-tree 35.5x higher
TypeScript typesNoneBundledDiffers
Module formatESM onlyESM + CommonJSDiffers
Runtimes---
LicenseISCMITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

d315.1m latest weekreact-d3-tree174k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

d3

Major versions
  1. 1.29.518 Aug 2011
  2. 2.1.312 Sept 2011
  3. 3.0.021 Dec 2012
  4. 4.0.028 Jun 2016
  5. 5.0.022 Mar 2018
  6. 6.0.026 Aug 2020
  7. 7.0.011 Jun 2021
Last 5 releases
  1. 7.9.012 Mar 2024
  2. 7.8.53 Jun 2023
  3. 7.8.41 Apr 2023
  4. 7.8.325 Mar 2023
  5. 7.8.218 Jan 2023
214 releases in total, 0 in the last 12 months

react-d3-tree

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
d3

-

react-d3-tree

-

d3

-

react-d3-tree

-

  • Need both ESM and CommonJS entry pointsreact-d3-tree (d3: ESM only; react-d3-tree: ESM + CommonJS)
  • Need to load it with require()react-d3-tree
  • Need TypeScript types in the package itselfreact-d3-tree (d3: None; react-d3-tree: Bundled)
  • Node.js version requirementd3: >=12; react-d3-tree: none declared (engines field in package.json)
  • Need the more recent releasereact-d3-tree (3.6.7 on 22 Sept 2026 vs 7.9.0 on 12 Mar 2024)
  • Higher weekly npm downloadsd3 (15.2m vs 174k)
  • Licensed3: ISC; react-d3-tree: MIT

Each line is generated from the data above.

d3: d3 npm registry, d3 npm downloads, d3 GitHub, d3 jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.