Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of GraphLayout (zoom)

Public visualization

Viewing a saved revision (read-only)

7f7b2fccc9d44357b41a7925125253c0

Fork of GraphLayout (zoom)

0 stars0🌍 Public
AAlbert
Last edited Mar 18, 2021
Created on Mar 18, 2021

This fork of the GraphLayout example displays a zoomable, force-directed graph using D3.js v5. Node positions come from a CSV file and are drawn as colored circles on an SVG canvas, while edges are rendered as lines. The node color encodes a categorical `k` value via `d3.scaleOrdinal` with a `schemeRdYlGn` color scale. Users can interact with the graph using the `d3.zoom` function to pan and scale the layout.

AI-generated description