Skip to main content
100%

d3-indented-tree API example #1

✓ Published0🌍 Public
EEE2dev
Last edited Dec 30, 2020
Created on Aug 27, 2019

This example demonstrates the configurable options of the d3-indented-tree plugin by cycling through eight different API calls every three seconds, each altering the tree’s layout properties. It shows how the visualization responds to changes in link height, link strength (both numeric and data-driven via the “size” key), leaf alignment, and link width (using a log scale). The code loads a JSON dataset from a CDN, initializes the chart with `d3.indentedTree`, and uses `window.setInterval` to apply each function sequentially, updating the displayed description text. Rendering relies on d3.v6 and the plugin’s bundled CSS.

AI-generated description

API examples for d3-indented-tree


d3-indented-tree showcase


Acknowledgements:

mit Licensed

Similar vizzes