d3-indented-tree API example #30
✓ Published0🌍 Public
EEE2dev
Last edited Dec 30, 2020
Created on Sep 15, 2019
This example demonstrates how to disable node images in an indented tree chart, resulting in a clean, text-only hierarchical layout. It uses the d3-indented-tree API with D3 v6, calling `nodeImageSelection(false)` to omit image elements. The chart renders chess move data from an embedded `<aside>` element, with link width mapped to a "time" property and a fixed link height of 30 pixels. The tree is drawn into a `div` using the `d3.indentedTree` constructor and a custom `showChart` function.
AI-generated descriptionAPI examples for d3-indented-tree
myChart.nodeImageSelection() - 2
This example shows how to draw a tree with no node images. You have to call myChart.nodeImageSelection(false).
- for documentation, go to https://github.com/EE2dev/d3-indented-tree
- for other examples, go to https://github.com/EE2dev/d3-indented-tree#examples
Acknowledgements:
mit Licensed