brain/
← all entities
entitygenericfrontend-visualization-libraries

D3

Notes

D3

One-line summary: Free, open-source JavaScript toolbox for bespoke data-driven graphics — officially not a charting library.

What it is

D3 (D3.js) composes primitives (parsers, scales, layouts, shapes, selections) against SVG and Canvas. It has no concept of “charts.” From 2026-08-21-autoresearch-best-frontend-visualization-libraries.

Why it matters to frontend-visualization-libraries

This thread compares libraries by job. Official D3 docs reserve it for maximal expressiveness (they name newsroom work) and call it overkill for a private dashboard.

Key facts

  • “Not a charting library in the traditional sense. It has no concept of ‘charts’.” From 2026-08-21-autoresearch-best-frontend-visualization-libraries.
  • Works with web standards (SVG, Canvas); can sit beside React, Vue, Svelte; DOM-touching modules compete with a virtual DOM. Same source.
  • Official sister for quick charts: observable-plot. Same source.
  • Paraphrase they endorse: use D3 if a hundred lines for a bar chart seems normal. Same source.

Open questions

Sources

Related

Referenced by