🌍 Public
Viewing a saved revision (read-only)
85b74e75b7e9461cae1b13df5b8ec21d
A8 - Node-link diagram with force-directed layout
This example displays a food network as a node-link diagram with a force-directed layout. It uses D3.js v7's `d3.forceSimulation` with link, charge, and center forces to position nodes and edges. Node interactions include hover effects that enlarge circles and reveal a tooltip with the node ID. Data is loaded from a CSV file via `d3.csv`, and the visualization is rendered as animated SVG elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.