Assignment 7 -- Force-Directed Graph & Adjacency Matrix
✓ Published0🌍 Public
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 descriptionMIT Licensed