block by denisemauldin cdd667cbaf7b45d600a634c8ae32fae5

Filtering Nodes on Force-Directed Graphs (D3 V4)

Full Screen

This simple interaction demonstrates how to filter nodes (and their respective links) in a Force-Directed Graph using D3.js version 4. It follows the new General Update Pattern in order to add and remove elements as needed.

index.html

Filtering Nodes

blocks-data.json