🌍 Public
Fork of network graph
This example shows a force-directed network graph mapping the factors that influence restaurant performance. The graph branches from a root node into categories like Location, Cuisine Type, and Price Range, each further split into specific leaf nodes, visually prioritizing the hierarchical relationship. The layout is generated using the D3.js force simulation API, including `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCollide`, with the graph rendered as an SVG. Nodes are interactive and can be dragged, highlighting connections and emphasizing the root-to-leaf structure.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.