Example using D3 to create hierarchical text content to display tag bundle structure loaded from a CSV file.
D3 is a JavaScript library targeted at simplifying the creation of SVG visualisations of live data.
This HTML page uses D3 to construct DOM elements to present hierarchical text content.
The initial attempt has been improved with help.
References:
- D3 API reference nest(): https://github.com/d3/d3-collection/blob/master/README.md#nests
- Bostock nested selections: https://bost.ocks.org/mike/nest/
- Question: https://stackoverflow.com/questions/48960182/is-there-a-better-way-to-use-d3-to-create-hierarchical-content-from-a-csv-file/48986082
- Example: https://beta.observablehq.com/@weitinglin/is-there-a-better-way-to-use-d3-to-create-hierarchical-conten
Anil Gulati 2018-03-01