appendix C An overview of D3 modules

 

The D3 library is split into multiple modules. This appendix gives you an overview of those modules and explains when we use them. Generally, we avoid using them when combining D3 with a JavaScript framework such as React or Svelte because it can generate conflicts.

Table C.1 An overview of D3 modules
Preprocessing
Drawing a data visualization on the screen
Finishing touches
Data preparation
Layout calculation
Interactions
Animations
d3-array
d3-chord
d3-axis*
d3-brush*
d3-ease
d3-color
d3-contour
d3-selection*
d3-dispatch*
d3-timer
d3-dsv
d3-delaunay
d3-drag*
d3-transition*
d3-fetch
d3-force
d3-zoom*
d3-format
d3-geo
d3-random
d3-hierarchy
d3-time
d3-interpolate
d3-time-format
d3-path
d3-polygon
d3-quadtree
d3-scale
d3-scale-chromatic
d3-shape