This is a simple d3.js tree diagram put together in response to a question on Stack Overflow
It is aimed at providing some exposure to some d3.js functions and should be taken in context with the text of the book which can be downloaded for free from Leanpub.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js