Skip to main content
Public

Share visualization

Loading preview…

Fork of CSCE 5320 HW 8

vizhub.com

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

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

Viewing a saved revision (read-only)

cgWvJHN1uqOQojeAPTjWA

Fork of CSCE 5320 HW 8

0 stars0Public
Rrobersontanner1@gmail.com
Last edited Nov 14, 2026
Created on Nov 14, 2026
Forked from CSCE 5320 HW 8

This example visualizes a hierarchical dataset of San Diego Padres player home runs, organized by player and position played, using a radial tree layout. The code builds the hierarchy with `d3.group` and renders it using `d3.tree` with a circular layout, where links are drawn as curved paths via `d3.linkRadial`. Node circles are colored by depth, and labels rotate with the tree structure. Hovering over nodes displays the aggregated home run totals via SVG `title` elements, with the data loaded from an external CSV file using `d3.csv`.

AI-generated description