Skip to main content
Public

Share visualization

Loading preview…

Course Tree

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

Course Tree

2
CCurran Kelleher
Last edited Mar 23, 2023
Created on Mar 22, 2023

This visualization displays a hierarchical course structure as a node-link tree, with circles representing topics and connecting lines showing parent-child relationships. The tree layout is computed using d3.hierarchy and d3.tree, which positions nodes based on the nested JSON data loaded from hierarchy.json. The SVG rendering uses D3’s data join pattern, binding circle and line elements to descendant and link data respectively, with coordinates mapped to the tree’s computed x and y positions. The visualization fills the entire viewport by dynamically setting the SVG dimensions to the window size.

AI-generated description

A basic tree visualization.

See also:

Comments

Sign in to join the discussion.

MIT Licensed