Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

d3js Tree square

I would like to use d3.js to build a pedigree tree.

All exemples that I found are showcasing organic trees.

enter image description here

Are there any exemples out there with a pedigree like style ?

enter image description here

like image 851
gpasse Avatar asked Jun 21 '12 11:06

gpasse


1 Answers

You could accomplish this using either the cluster or tree layouts. And using a custom path generator to draw orthogonal lines connecting nodes, as in this elbow dendrogram. I guess I was feeling inspired so I gave it a shot:

  • http://bl.ocks.org/2966094
like image 150
mbostock Avatar answered Sep 22 '22 14:09

mbostock