# scotthmurray/d3-book

Code examples for “Interactive Data Visualization for the Web”

Repository: https://github.com/scotthmurray/d3-book
Canonical: https://ross.abutalabs.com/products/d3-book
Homepage: http://d3book.com
Language: HTML
License: NOASSERTION
License Family: other
Last push: 2019-12-07T21:40:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5059, "days_push": 2461, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2427, forks 1762 (observed 2026-08-28T04:06:50.852687+00:00)

## What it is
Sample code files accompanying the O'Reilly book 'Interactive Data Visualization for the Web, Second Edition' by Scott Murray. The repository contains HTML/JavaScript examples demonstrating D3.js visualization techniques chapter by chapter.

## Use cases
- learn d3.js from scratch
- follow along with a data visualization book
- find example code for d3 charts
- teach myself interactive data visualization
- get starter examples for svg charts in javascript
- reference d3 code snippets while reading the book

## When to choose
- you are reading or teaching from the second edition of the book and want matching code
- you want simple, beginner-friendly D3 examples
- you prefer learning data visualization through worked examples

## When to avoid
- you need a production-ready charting library or framework
- you want examples for the latest D3 versions beyond the book's coverage
- you need actively maintained or documented software rather than book samples

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: data-visualization, charts, developer-tools
- domain: data-visualization, tutorials, education, web-development
- platform: browser, cross-platform
- tags: d3, code-examples, book-companion, javascript, html, svg, tutorial-code, web-server

## Member repositories
- scotthmurray/d3-book (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.852687+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-30T02:31:36.456323+00:00, confidence not recorded.
  - readme: https://github.com/scotthmurray/d3-book (fetched 2026-08-28T04:06:50.852687+00:00, sha 79bf8f705c09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
