Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates a bare-bones HTML page that sets up a force-directed graph visualization, though it currently only simulates the physics without rendering any visual output. The code defines eight nodes (A–H) and eight links between them, then uses d3.forceSimulation with charge, center, and link forces to compute the layout. The simulation's tick event simply logs to the console, while the page itself displays a static "Hello HTML!" message styled with CSS. It relies on D3 v7 loaded from a CDN as the sole JavaScript library.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed