Skip to main content
100%

Untitled

✓ Published0🌍 Public
Llivmap
Last edited Jan 2, 2022
Created on Jan 2, 2022
Forked from HTML Starter

This example renders an interactive visualization using React and D3, displaying a network of nodes connected by links. It uses `d3.forceSimulation` to compute the layout, with forces for charge, collision, and link distance, while `d3.zoom` and `d3.drag` enable panning, zooming, and node dragging. The visualization draws SVG circles and lines for nodes and edges, updating positions on each simulation tick. The source data originates from the `livmap` v3 dataset, and the code also demonstrates integration of D3 with React's component lifecycle.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes