Skip to main content
100%

Chord Diagram

✓ Published0🌍 Public
Mmbostock
Last edited Feb 26, 2019
Created on Jun 25, 2011

This chord diagram visualizes the import dependencies between packages in the Flare software class hierarchy, where each arc segment represents a package and the ribbons show the volume of imports between and within packages. The layout uses `d3.layout.chord` with a matrix of import counts derived from the `readme.json` data file, rendered as SVG paths via `d3.svg.chord` and `d3.svg.arc`. Package labels are rotated along the outer ring, and colors come from a `d3.scale.category20c()` categorical scale, with chord strokes darkened via `d3.rgb().darker()`.

AI-generated description

A chord diagram in D3.js, showing dependencies between classes in a software class hierarchy. Dependencies are grouped according to the source and target packages. Although this diagram does not show class-level detail visible with hierarchical edge bundling, it better reveals the total number of imports between and within packages. Note, for example, the circular dependency between vis.data and vis.events. Colors by ColorBrewer.

See also this approach applied to Uber’s San Francisco cab data.

gpl-3.0 Licensed

Similar vizzes