Skip to main content
100%

D3 - Adjacency Matrix

✓ Published0🌍 Public
CChandana Srinivas
Last edited Mar 26, 2024
Created on Mar 25, 2024
Forked from HTML Starter

This example visualizes a dolphin social network as an interactive adjacency matrix. It displays a grid of colored squares where each row and column represents a dolphin, with filled cells indicating connections between individuals. The visualization uses two versions of D3 (v6 and v7) to parse CSV data, construct the matrix from edge lists, and render SVG rectangles with hover effects that highlight entire rows and columns. A tooltip appears on mouseover to show the specific link identifier, while the matrix labels each axis with node IDs.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes