Skip to main content
100%

Edge labeling

✓ Published0🌍 Public
FFereidoun Mianji
Last edited Jul 17, 2021
Created on Jul 17, 2021
Forked from Fork of D3 Starter

This example demonstrates edge labeling in a network visualization built with D3 v6, showing nodes connected by curved vertical paths with labels that orient along link direction. The code defines a network of server and device nodes with fixed coordinates, rendered as SVG elements using custom icon glyphs from Font Awesome. Links are drawn with `d3.linkVertical()` paths and labeled dynamically based on connection type, with forces applied via `forceStrength` and `linkStrength` constants to adjust layout. The visualization includes tooltips on hover and highlights forward versus reverse traffic flow between nodes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes