Skip to main content
Public

Share visualization

Loading preview…

Assignment 8 Node-link diagram

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

Assignment 8 Node-link diagram

2
Hhxu51@usfca.edu
Last edited Mar 26, 2025
Created on Mar 24, 2025

This example shows a circular node-link diagram of food-related entities, with edges between connected nodes bundled together to reduce visual clutter. It uses d3.csv to load food_nodes.csv and food_edges.csv, then renders the structure with d3.hierarchy and d3.cluster to position nodes radially. The visualization uses d3.lineRadial with a curveBundle beta curve, where the tension is adjustable via a slider that updates the bundled paths dynamically. Hovering over a node highlights all links connected to that node, and the SVG is interactive with d3.zoom.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed