Skip to main content
100%

Directional Force Layout Diagram with Node Highlighting

✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Mar 12, 2013

This interactive force-directed network diagram displays the relationships between named characters, with arrows indicating direction and thickness conveying connection strength. Clicking a node highlights it by enlarging its circle and changing its label’s color, size, and position; double-clicking resets the node to its default styling. Built with D3.js 3.5.17, it uses `d3.layout.force` for physics-based simulation, SVG elements for rendering, and transitions on `attr` and `style` properties to animate the highlight and reset effects. The input data is loaded from a CSV file containing source, target, and value columns for each edge.

AI-generated description

This is a follow-on graph to the Basic Directional Force Layout Diagram and builds on it by allowing highlighting of individual nodes by clicking on them. These then remain highlighted untill you double click on them.

mit Licensed

Similar vizzes