an iteration that draws a smaller dataset.
If your tree dataset is small, then this example should be useful for showing how your dataset might look as a dendrogram.
See also the Dendrogram Large Dataset and react-app examples.
D3’s cluster layout produces node-link diagrams with leaf nodes at equal depth. These are less compact than tidy trees, but are useful for dendrograms, hierarchical clustering and phylogenetic trees. See also the radial variant.`
inspired by
https://cdnjs.cloudflare.com/ajax/libs/d3/5.9.2/d3.min.js