Skip to main content
100%

A8 - adjacency matrix

✓ Published0🌍 Public
SShazil Taqi
Last edited Mar 25, 2024
Created on Mar 25, 2024

This example visualizes a Bitcoin transaction network as an adjacency matrix, where rows and columns represent nodes and cell opacity reflects link weight. The SVG rendering uses D3.js v7 to load CSV data, construct a symmetric matrix, and generate individual `<rect>` elements sized proportionally to the matrix dimensions. Hovering over a cell highlights it in red and displays the corresponding weight value as a temporary text label near the cursor, while mouseout restores the blue fill and removes the tooltip.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes