Skip to main content
100%

d3-indented-tree API example #34

✓ Published0🌍 Public
EEE2dev
Last edited Dec 30, 2020
Created on Jul 23, 2019

This example demonstrates how to align the leaves of an indented tree visualization using the d3-indented-tree API. It first renders a tree from a remote flare.json dataset, using the `name` property as the key and propagating `size` values. After a two-second delay, the `alignLeaves(true)` method is called to enable leaf alignment. The chart is built with D3 v6 and the d3-indented-tree library, which supplies the tree layout and styling.

AI-generated description

API examples for d3-indented-tree


myChart.alignLeaves()

This example shows how to align the leaves of the tree.


Acknowledgements:

mit Licensed

Similar vizzes