Skip to main content
100%

hierarchy explorer API examples

✓ Published0🌍 Public
EEE2dev
Last edited Jul 25, 2019
Created on Jul 25, 2019

This example demonstrates the interactive behavior of the hierarchy explorer when adjusting link dimensions. It shows how the `linkHeight()` method sets the vertical spacing between links, and then, after a two-second delay, the `linkWidth()` method changes the horizontal extent of the links, visually altering the chart’s layout. The code uses the D3.js v5 library alongside the custom `hierarchyExplorer` charting library, loading data from a remote JSON file. The chart is rendered by appending a div and calling the chart function, with the `propagateValue("size")` method linking node sizes to the data.

AI-generated description

API examples for hierarchy explorer


myChart.linkHeight()

This example shows how to set the height of the links.


Acknowledgements:

mit Licensed

Similar vizzes