Skip to main content
100%

Untitled

✓ Published0🌍 Public
Llibertycoda
Last edited Jun 2, 2020
Created on Jun 2, 2020
Forked from HTML Starter

This example demonstrates a minimal React application that renders an interactive visualization using D3.js. It displays a force-directed graph where nodes and links are positioned and animated through d3.forceSimulation. The React component manages the SVG container as a ref and directly manipulates the DOM to update node positions and link paths on each simulation tick. The code imports specific D3 functions including forceSimulation, forceLink, forceManyBody, forceCenter, and uses a drag interaction via d3.drag. Data is created inline as a small set of test nodes and edges.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes