Skip to main content
100%

Force-Directed Graph

✓ Published0🌍 Public
GGerHobbelt
Last edited Sep 9, 2012
Created on May 18, 2012

This force-directed graph visualizes the hierarchical structure of a JSON dataset representing the Flare visualization library, with nodes colored to distinguish leaf nodes, parent nodes, and collapsed nodes. The graph uses a force-based layout to position nodes, with links drawn as lines between connected nodes. Clicking a node toggles its children, dynamically updating the graph through the `update()` function. The visualization is built with D3.js v2, using the `d3.layout.force` and `d3.layout.tree` APIs for layout and the `flatten` function to traverse the JSON hierarchy.

AI-generated description

Click to expand or collapse nodes in the tree. Built with D3.js.

Similar vizzes