Skip to main content
100%

d3-indented-tree API example #8

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

This example demonstrates how to embed relational CSV data directly in an HTML document using a semicolon delimiter, bypassing the need for a web server. It visualizes a hierarchical tree structure with multiple size and color attributes per node. The implementation uses the d3-indented-tree plugin alongside D3.js v6, with the data sourced from an `<aside>` element and configured via the `hierarchyLevels` and `delimiter` options. A timed `linkWidth(100)` call adjusts the tree’s link width after two seconds, showcasing dynamic API interaction.

AI-generated description

API examples for d3-indented-tree


data format - relational csv data embedded, different key

This example shows how to embed csv data in a relational format into your document. Additionally, the delimiter here is ; (semicolon). This option can be used without a web server.


Acknowledgements:

mit Licensed

Similar vizzes