Skip to main content
100%

Icicle & Force Layout

✓ Published0🌍 Public
EEoinMGB
Last edited Apr 14, 2017
Created on Apr 5, 2017

The visualization combines an icicle chart with a force-directed node-link diagram, both driven by the same hierarchical dataset of loan categories. The icicle chart, rendered with SVG rectangles via `d3.layout.partition`, allows click-to-zoom into any non-"end" node, updating the visible rectangles and highlighting the selected path in orange. Simultaneously, a separate force simulation using `d3.forceSimulation` and `d3.forceLink` displays the hierarchy as a connected network of colored circles, with nodes colored by group and linked by edges; clicking a rectangle also recolors the corresponding node in the network. The data comes from `icicles.json` and `nodes.json`, and the example uses D3 v3 for the partition layout and D3 v4 for the force layout.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/EoinMGB/'>EoinMGB</a>'s block: <a href='http://bl.ocks.org/EoinMGB/0e814f40414ac79162a8c31028af39bf'>Icicle & Force Layout </a>

mit Licensed

Similar vizzes