🌍 Public
Viewing a saved revision (read-only)
d35fa1dc7d104ff79b715cfef95b7a36
Assignment 7 -- Force-Directed Graph & Adjacency Matrix
This example presents a food-related dataset as both an interactive force-directed graph and an adjacency matrix. The force-directed layout uses `d3.forceSimulation` to position nodes and links, with drag behavior and animated tick updates. The adjacency matrix encodes edge weights through square opacity levels, rendered as SVG rectangles, with tooltips showing source and target IDs. Both visualizations are built with D3 v6, using SVG and animation, drawing from a CSV file.
AI-generated description