Skip to main content
100%

Circle Packing with hierarchical edge bundling

✓ Published0🌍 Public
CCurran Kelleher
Last edited Aug 18, 2018
Created on Aug 18, 2018

This visualization combines circle packing with hierarchical edge bundling to display the import relationships between packages in the Flare Actionscript library. Circular bubbles represent each package, sized by value, while bundled paths connect related packages based on the provided `flare_links.csv` data. Built with D3 v5, the code uses `d3.stratify`, `d3.pack`, and `d3.curveBundle` to compute layouts and curved link paths, rendered as SVG with zoom support.

AI-generated description

Forked from Micak Stubb's Bl.ock, which was forked originally from Matteo Abrate's Circle packing with hierarchical edge bundling

Changes by Curran:

  • Upgraded to D3 v5.
  • Removed use of attrs, so it's just vanilla D3 now!

An iteration on the previous example, this time leveraging hierarchical edge bundling to show imports between packages in the historic flare Actionscript visualization library. Direction is ignored.


this iteration on Circle packing with hierarchical edge bundling from @matteoabrate runs lebab.sh on the output of the previous decaffeinated iteration. then, some syntax is manually optimized for readability.


this iteration makes the code (subjectively) nice to work with

use decaffeinate to produce modern Javascript

that modern Javascript is then Prettier formatted https://prettier.io/


special thanks to @currankelleher who tweeted about this nice block and motivated me to fork it.

apache-2.0 Licensed

Similar vizzes