Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starterdfsakj

Public visualization

Viewing a saved revision (read-only)

2720a8cd45cc41168bffdf8fb10b16a5

Fork of HTML Starterdfsakj

0 stars0🌍 Public
Yyuvraj khanna
Last edited Feb 15, 2024
Created on Feb 15, 2024
Forked from HTML Starter

This example demonstrates a node-and-link network visualization using D3.js v6. It renders nodes as steelblue circles and links as gray lines within an SVG container. The code includes a force-directed layout with `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to position elements. The nodes and links are sample data, and the interaction includes drag-and-drop functionality via `d3.drag`, with positions updated on each simulation tick. Links connect nodes by id, and the rendering approach uses SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.