Skip to main content
100%

DONE: NODES, LINKS FROM FILE WITH WEIGHTS AND GRAVITY

✓ Published0🌍 Public
JJediquu
Last edited May 21, 2023
Created on May 9, 2023

A force-directed graph visualizes weighted connections between nodes loaded from a CSV file, with gravity pulling all nodes toward the center. Users can run Dijkstra, breadth-first, or depth-first search from a specified root node, highlighting the resulting path in red while dimming passed nodes and links. Built with React for UI controls and D3 v3's `d3.layout.force` for physics, the visualization renders nodes and curved links as SVG paths with animated tick updates, link labels showing weights, and arrow markers.

AI-generated description
<!-- A graph diagram representing the network of connections of the [Kenneth Rainin Foundation](https://krfoundation.org/). --> <!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/y7DxbW9nwmo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> -->
MIT Licensed

Similar vizzes