# D3.js

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

Repository: https://github.com/d3/d3
Canonical: https://ross.abutalabs.com/products/d3js
Homepage: https://d3js.org
Language: Shell
License: ISC
License Family: permissive
Topics: visualization, data-visualization, charts, svg, chart, d3
Last push: 2026-05-28T14:43:01+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 84, release rhythm 8, longevity 100
- inputs: {"age_days": 5819, "days_push": 97, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 113560, forks 22676 (observed 2026-08-28T04:12:24.083271+00:00)

## What it is
D3.js is a free, open-source JavaScript library for visualizing data using SVG, Canvas, and HTML. Its low-level, web-standards-based approach provides fine-grained control for building dynamic, data-driven graphics and custom visualizations.

## Use cases
- create interactive charts in the browser
- build custom data visualizations with svg
- render force-directed network graphs
- visualize hierarchical data like trees and treemaps
- draw geographic maps with map projections
- build a custom charting library on top of low-level primitives

## When to choose
- you need full control over every visual detail of a chart
- you are building bespoke or award-winning data visualizations
- you want a foundation for higher-level charting libraries
- you need specialized visualizations like force layouts, hierarchies, or geo projections

## When to avoid
- you just need standard charts quickly with minimal code
- you prefer a high-level charting API with sensible defaults
- your team cannot invest in learning D3's low-level model

## Facets
- artifact type: library
- maturity: stable
- function: data-visualization, charts, graphics
- domain: data-visualization, frontend, web-development, data-science
- platform: browser
- tags: svg, canvas, d3, charts, dataviz, web-standards, nodejs, javascript

## Member repositories
- d3/d3 (main) score 61
- d3/d3-shape (plugin) score 23
- d3/d3-force (plugin) score 23
- d3/d3-scale (plugin) score 54
- d3/d3-queue (plugin) score 23
- d3/d3-hierarchy (plugin) score 30
- d3/d3-geo-projection (plugin) score 23
- d3/d3-geo (plugin) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:24.083271+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:11:54.948315+00:00, confidence not recorded.
  - readme: https://github.com/d3/d3 (fetched 2026-08-28T04:12:24.083271+00:00, sha 1a0ae703426b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
