Skip to main content
100%

Assignment 7 -- Force-Directed Graph & Adjacency Matrix

✓ Published0🌍 Public
Vvishusikka
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes