Skip to main content
Public

Share visualization

Loading preview…

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)

tACNGR7OZg-QNPvLgmHOn

CSCE 5320 HW 8

0 stars1Public
Rrobersontanner1@gmail.com
Last edited Nov 14, 2026
Created on Nov 13, 2026

This example compares two views of the same airline route network connecting airports in Spain and Brazil. A force-directed node-link diagram, built with d3.forceSimulation and forceLink, displays the network structure with nodes colored by country. An adjacent adjacency matrix view uses d3.scaleOrdinal and the d3.schemeTableau10 color palette, with matrix rows and columns reorderable by file order, degree, or cluster. The dataset comes from the CSV files hw8_network_edges.csv and hw8_network_nodes.csv, which include airport degree and cluster assignments.

AI-generated description

React D3 Starter

A minimal React + D3 starter for building interactive data visualizations.

Files

  • index.html — page shell and import map (React + D3 from a CDN).
  • index.jsx — mounts the <App /> component.
  • App.jsx — loads data.csv and renders the visualization.
  • viz.js — D3 render entry point.
  • renderCircles.js — draws the circles.
  • useContainerDimensions.js — tracks the container size.
  • data.csv — sample data.
  • styles.css — page styles.

Getting started

Edit App.jsx to change what gets rendered; the preview updates live as you type.