Skip to main content
Public

Share visualization

Loading preview…

Force Directed Graph

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Force Directed Graph

3
Yyakupermurat
Last edited Jun 5, 2020
Created on Jun 5, 2020

This example shows a force-directed graph with nodes connected by links of varying weights, representing relationships between chemical elements and compounds. The code uses d3.forceSimulation to position the circular nodes and curved paths for the links, with text labels for each node. The visualization is rendered as an SVG using D3 v5, with node colors and stroke widths determined by the link values in the static JSON dataset.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed