D3.js vs visx
A data-driven comparison of two data visualization tools: popularity, development activity, licensing and installation. Updated .
Key differences
- D3.js has 5.4× as many GitHub stars as visx (113.8K vs 21.1K).
- visx had more development activity over the last 12 months: 121 commits vs 2.
- D3.js is downloaded 217× as often on npm (25.7M vs 118.6K per week).
- D3.js is licensed under ISC; visx under MIT.
- D3.js is written primarily in JavaScript, visx in TypeScript.
- D3.js is the older project: its repository was created in 2010, visx's in 2017.
By the numbers
- D3.js
- visx
Show data as a table
| Metric | D3.js | visx |
|---|---|---|
| GitHub stars | 113,802 | 21,075 |
| npm downloads / week | 25,739,179 | 118,570 |
| Commits, last 12 months | 2 | 121 |
| Contributors | 136 | 161 |
| Forks | 22,637 | 772 |
Development activity
Commits per month to each default branch, last 12 complete months.
- D3.js
- visx
Show data as a table
| Month | D3.js | visx |
|---|---|---|
| Oct 2025 | 0 | 19 |
| Nov 2025 | 0 | 37 |
| Dec 2025 | 1 | 0 |
| Jan 2026 | 0 | 0 |
| Feb 2026 | 0 | 0 |
| Mar 2026 | 0 | 0 |
| Apr 2026 | 0 | 29 |
| May 2026 | 1 | 0 |
| Jun 2026 | 0 | 36 |
| Jul 2026 | 0 | 0 |
| Aug 2026 | 0 | 0 |
| Sep 2026 | 0 | 0 |
Side by side
| Attribute | D3.js | visx |
|---|---|---|
| Description | JavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML. | Low-level visualization components that combine D3 with React, by Airbnb. |
| Category | D3.js | React chart & visualization libraries |
| License | ISC | MIT |
| Language | JavaScript | TypeScript |
| Status | Maintained | Maintained |
| Latest release | v7.9.0 () | v4.0.0 () |
| Last commit | ||
| Repository created | ||
| Open issues | 5 | 116 |
| Install | npm install d3 | npm install @visx/visx |
Which should you choose?
Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.