Skip to main content
100%

force graph astroph

✓ Published0🌍 Public
MMatteoTomassetti
Last edited Mar 13, 2016
Created on Mar 13, 2016

This example visualizes a directed force-directed graph representing co-authorship relationships among astrophysicists, with nodes for researchers and curved, arrowed links for collaborations weighted by the number of shared publications. The code loads data from a CSV file via `d3.csv`, builds the graph using D3 v3’s `d3.layout.force`, and renders nodes as SVG circles with text labels. Curved paths with arrow markers indicate link direction, and the simulation updates node positions and path geometry on each tick. The visualization adapts Mike Bostock’s classic force layout examples, using SVG for all rendering.

AI-generated description

This is an adaption of two of Mike Bostock's force layout examples (Mobile Patent Suits and Force-Directed Graph with Mouseover).

This particular graph is intended as a 'basic' example of a directional force layout graph (hence the arrows) and I intend to add additional examples with variations.

forked from <a href='http://bl.ocks.org/larskotthoff/'>larskotthoff</a>'s block: <a href='http://bl.ocks.org/larskotthoff/7830074'></a>

Similar vizzes