Vertical "Elbow" Dendrogram
✓ Published0🌍 Public
Aaltocumulus
Last edited Apr 24, 2019
Created on Apr 24, 2019
This example creates a vertical "elbow" dendrogram from a hierarchical JSON dataset using D3 v5. The d3.cluster layout positions leaf nodes along the horizontal axis, and the d3.hierarchy function converts the nested JSON into a tree structure. Parent-child links are drawn as elbow-shaped paths—horizontal from the parent’s x-position, then vertical to the child—using a custom elbow function. The result is a compact, left-to-right tree visualization rendered as SVG, with light gray link strokes and no node labels, showing the hierarchical clustering of the Flare data.
AI-generated descriptiongpl-3.0 Licensed