A8 - Node-link diagram with force-directed layout
✓ Published4🌍 Public
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.
MIT Licensed