I’ve written quite a few d3 tutorials. This is their home.
Most of these tutorials are based on version 4, but probably will work with version 5 too. They’re usually not version 3 compatible.
In version 4 of d3, force directed graphs are bundled into the module d3-force. They work quite differently from their version 3 predecessor.
- sticky nodes
- bounding box
- growing, shrinking
Just like force directed graphs, version 4 of D3 separated out zoom behaviour into its own module. These tutorials cover how to use that module.
- understanding SVG transforms
- minimal example
- selective zooming
- combining drag and zoom
- zoomable force graph
These are other things I’ve written on d3 over the years.