Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Exercise 5

Public visualization

Exercise 5

0 stars0🌍 Public
GGrant Ferrell
Last edited Nov 11, 2019
Created on Nov 11, 2019
Forked from Blank Canvas

This example shows a hierarchical tree visualization generated from a JSON data source, representing the structure of an “antimony” object. The code uses the D3.js library to compute the tree layout and render the relationships as a series of horizontal links. It relies on `d3.hierarchy` to process the data, `d3.tree` for layout calculations, and `d3.linkHorizontal` to generate SVG path data for each connection, which are then appended to the SVG canvas. The visualization animates the complete dataset at once, displaying the entire tree structure without interaction.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed