https://github.com/justincy/d3-pedigree-examples
I couldn't find any good examples of how to use D3 to draw traditional pedigrees (rectangle boxes with straight connecting lines) so made created some.
There are currently three examples:
* Basic static pedigree
* Expandable and collapsible pedigree
* Expanding and collapsing with transitions (animations)
I anticipate adding an example of how to draw descendants, if I ever figure that out.