Modules

Libraries

D3

d3@7.9.0

Data-driven documents for bespoke viz.

Version
7.9.0
License
ISC
Size
93 KB

Add it

Declare it in prototir.json at the root of your ZIP. Prototir checks the version at upload and adds it to the page's import map.

prototir.json
{
  "modules": [
    "d3@7.9.0"
  ]
}

Then import it by name, from 'd3', as you would from npm.

Reference

Prototir serves the library unchanged, so its own documentation applies.

D3 documentation

Versions

Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.

  • d3@7.9.0

As JSON: /modules/d3.json. Source: npm:d3 (esbuild-bundled — package ships either a UMD build or an unbundled source split across ~29 separate d3-* packages, no single-file browser ESM; see tools/bundle-vendor.mjs).