Skip to main content
100%

A8 - Adjacency Matrix

✓ Published1🌍 Public
Rronnieferrufino4908@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from HTML Starter

This adjacency matrix visualizes a network of 100 nodes using a grid where blue cells indicate connections between source and target nodes. Built with D3.js v7, the code loads edge data from a CSV file and uses a Map with Set collections to store connection pairs. Each cell is rendered as an SVG rectangle, with fill color determined by whether a connection exists between the corresponding row and column nodes. Row and column labels are added as rotated text elements, with nodes sorted by ID for consistent layout.

AI-generated description
MIT Licensed

Similar vizzes