Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bargraph

Public visualization

Viewing a saved revision (read-only)

3855e7886c714ad3b057ee35ac7bdb38

bargraph

0 stars0🌍 Public
NNeeraj Kumar
Last edited Jan 11, 2024
Created on Jan 11, 2024
Forked from fractal tree

This example shows a static tree diagram generated by D3 v4, laying out a small binary hierarchy of nodes and links with `d3.tree()` and `d3.hierarchy()`. The visualization renders in an SVG using `d3.linkHorizontal()` for curved paths and circle-plus-text labels for each node. The code builds the tree data programmatically from a root object, assigns positions via `tree(root)`, and applies transform translation to group elements for placement.

AI-generated description

Interactive tree fractal with Canvas.

Move the mouse to change the branching!

Draws from HTML5 Examples.

Extended to use high resolution Canvas for high pixel density displays.