# D3.js

13 Hacker News commenters recommended D3.js and 4 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Free JavaScript library people pick for fully customized, interactive data visualizations, often paired with Observable. Common caveat: it struggles with very large datasets and networks.

## Why people recommend it

- Best for custom visualizations (4 comments): "I think D3 is better for custom data visualizations, but we'd need to build most editor behavior ourselves" ([source](https://news.ycombinator.com/item?id=49391388)) "great libraries for infinite customization (D3, Observable Plot) - but they struggle at scale" ([source](https://news.ycombinator.com/item?id=46709286)) "anything more than their own handpicked examples and you're better off using d3 or yfiles" ([source](https://news.ycombinator.com/item?id=48841000))
- Loved and called the best option (4 comments): "D3 is the only charting library that I've loved." ([source](https://news.ycombinator.com/item?id=45835240)) "Not any more, ${YourAIAgent} + D3 is awesome." ([source](https://news.ycombinator.com/item?id=50214974)) "D3 and Leaflet were such cool tech!" ([source](https://news.ycombinator.com/item?id=48064499))
- Pretty interactive, animated visuals (3 comments): "I also was gripped by a few cool visual animations I could do in d3 and svg to help tell the story." ([source](https://news.ycombinator.com/item?id=49242073)) "it works great in conjunction with observable and d3js for pretty interactives!" ([source](https://news.ycombinator.com/item?id=47408206)) "several very lovely visualizations back on the D3.js site" ([source](https://news.ycombinator.com/item?id=46745585))

## What people warn about

- Slow with large data or networks (3 comments): "all the performance hacks I had to do to get 0.01% of the data to render half as smooth using d3" ([source](https://news.ycombinator.com/item?id=46707654)) "great libraries for infinite customization (D3, Observable Plot) - but they struggle at scale" ([source](https://news.ycombinator.com/item?id=46709286)) "it is really slow with big networks, and the force directed algorithm is far from the best" ([source](https://news.ycombinator.com/item?id=45959609))

## Alternatives hackers recommend

- [jQuery](https://hackerapproved.com/p/jquery.md): 111 recommend
- [Picknplace.js](https://hackerapproved.com/p/picknplace-js.md): 58 recommend
- [Alpine.js](https://hackerapproved.com/p/alpine-js.md): 50 recommend
- [Effect (TypeScript library)](https://hackerapproved.com/p/effect.md): 38 recommend
- [Video.js](https://hackerapproved.com/p/video-js.md): 24 recommend

## Cite as

Hacker Approved, "D3.js", https://hackerapproved.com/p/d3/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
