Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

745e4d6bcfa1447c87b75cda51fba74f

Untitled

0 stars1🌍 Public
Hhassanraza1552
Last edited Jun 14, 2020
Created on Jun 13, 2020

This example visualizes a force-directed network graph, showing how nodes with varying sizes and link connections settle into a stable layout. The graph uses `d3.forceSimulation` and `d3.forceLink` to compute the node positions and link distances, while `d3.select` and `d3.zoom` handle the interactive panning and zooming. The visualization is rendered with SVG elements using the `d3.drag` behavior for node repositioning. The data is loaded from a CSV file containing node and link information, and the color of each node is assigned based on a categorical scale.

AI-generated description