Gist 939901
✓ Published0🌍 Public
CCaged
Last edited Apr 24, 2011
Created on Apr 24, 2011
The visualization displays a small directed graph of four people—bob, jane, sue, and tom—with their named connections drawn as curved arcs. Each person appears as a colored arc segment arranged in a circle, while the connections between them are shown as thin, curved paths that originate from the segment of the source person and end at the target person’s segment. The code builds this using an ordinal scale to map each person to an angular band, then constructs arc paths with `d3.svg.arc()` for the segments and `d3.svg.diagonal()` for the connection curves, both rendered in a centered SVG group. The data is a hardcoded JavaScript array, and the visualization uses only D3’s core SVG helpers without any simulation or layout engine.
AI-generated description