Fork of HTML Star
✓ Published0🌍 Public
This example shows a simple network diagram with nodes and links, using click and double-click interactions to log node labels and zoom into specific points. The nodes are positioned with fixed x and y coordinates from an array, while links connect them through source and target IDs. The visualization uses D3 v7 to create SVG circles and lines, and applies a d3.zoom behavior with a scale extent to enable pan and zoom. A transition with zoom.transform handles the double-click zoom animation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed