Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

social network graph

Public visualization

social network graph

0 stars0🌍 Public
Vvenkatajayanth03
Last edited Jul 10, 2022
Created on Jul 10, 2022

This example shows a small social network graph with seven nodes representing business departments and external groups, connected by weighted links. The visualization uses D3 v4’s `d3.layout.force` (the pre-v4 force API) to position nodes in an SVG canvas, with node labels and circular marks styled via CSS. Link thickness is set with `stroke-width` based on the `weight` property from the JSON data, and nodes are draggable via `force.drag`. The data comes from an external `graphFile.json` file, rendered as SVG lines and circles.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed