Skip to main content
100%

Force-Directed Tree II

✓ Published0🌍 Public
Mmbostock
Last edited Aug 8, 2019
Created on Feb 15, 2017

A force-directed tree visualization displays the hierarchical file structure of the D3.js library, with nodes representing individual modules and paths. The layout is computed using `d3.forceSimulation` with `d3.forceManyBody`, `d3.forceLink`, and positional forces, rendering to a Canvas 2D context via `context.arc` and `context.lineTo`. Nodes are draggable, with drag behavior implemented through `d3.drag` and a simulation `find` query. Data originates from a CSV file parsed by `d3.csv` and structured with `d3.stratify`.

AI-generated description
gpl-3.0 Licensed

Similar vizzes