I\'m a HTML/CSS developer, researching javascript solutions for building a \'family-tree\' which needs to show marriages (from outside the family, of course
I also needed to draw pedigrees with D3 so I figured out how. I have created examples that show the basic functionality and then add on advanced features such as expanding and showing descendants.
I don't know how you want to display marriages. Marriages are inherent in an ancestral pedigree but not in a descendancy chart. The code could be adapted to show spouses in the descendant nodes.
Here's a pic of how it looks. The style can be tweaked as desired.