Skip to content
JS
Comparison

d3 vs echarts

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

Data-Driven Documents

$ npm install d3
echartsv6.1.0, 19 May 2026

Apache ECharts is a powerful, interactive charting and data visualization library for browser

$ npm install echarts
Metricd3echartsDifference
Weekly downloads15,246,8043,701,710d3 4.1x higher
12-month download growth+248%+238%d3 +10 pts
Gzip size---
Minified size---
Dependencies302d3 28 more
Unpacked size851 kB57.5 MBd3 69.2x smaller
Latest release7.9.0, 12 Mar 20246.1.0, 19 May 2026echarts 2.2 years more recent
Releases, last 12 months01echarts 1 more
First published18 Aug 20118 Jul 2015d3 3.9 years earlier
GitHub stars113,76467,393d3 1.7x higher
Open issues51,301echarts 1,296 more
Open pull requests14193echarts 179 more
Contributors---
Commits, last 52 weeks2270echarts 135.0x higher
TypeScript typesNoneBundledDiffers
Module formatESM onlyESM + CommonJSDiffers
Runtimes---
LicenseISCApache-2.0Differs

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 weekecharts3.7m 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

echarts

Major versions
  1. 2.2.87 Nov 2015
  2. 3.0.012 Jan 2016
  3. 4.0.016 Jan 2018
  4. 5.0.02 Dec 2020
  5. 6.0.030 Jul 2025
Last 5 releases
  1. 6.1.019 May 2026
  2. 6.0.030 Jul 2025
  3. 5.6.028 Dec 2024
  4. 5.5.127 Jun 2024
  5. 5.5.018 Feb 2024
74 releases in total, 1 in the last 12 months
d3

-

echarts

-

d3

-

echarts

-

  • Need both ESM and CommonJS entry pointsecharts (d3: ESM only; echarts: ESM + CommonJS)
  • Need to load it with require()echarts
  • Need TypeScript types in the package itselfecharts (d3: None; echarts: Bundled)
  • Node.js version requirementd3: >=12; echarts: none declared (engines field in package.json)
  • Need the more recent releaseecharts (6.1.0 on 19 May 2026 vs 7.9.0 on 12 Mar 2024)
  • Higher weekly npm downloadsd3 (15.2m vs 3.7m)
  • Licensed3: ISC; echarts: Apache-2.0

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.