Fork of GraphLayout
✓ Published0🌍 Public
MMarcelo
Last edited Apr 17, 2021
Created on Apr 12, 2021
A fork of a graph layout example renders a node-link diagram from imported CSV data, using D3.js v5 to position circles and connecting lines within an SVG canvas. The nodes are colored according to a categorical variable `k` from the data, using an ordinal color scale with a reversed RdYlGn scheme. The visualization supports zoom and pan interactions through a zoom handler that updates the SVG group's transform. The graph structure is defined by separate input and output CSV files containing edge connections and node coordinates.
AI-generated descriptionMIT Licensed