JavaScript modules let separately scoped source files share bindings through imports and exports. In D3 projects, NPM provides modules as libraries that can be imported instead of loading individual files with script tags. section 1.2.6
A modular D3 project can:
- Load the full D3 library or import only the parts it needs. section 1.2.6
- Use a bundler such as Parcel to combine JavaScript files and NPM modules into browser-readable files. section 11.0



































