All examples By author By category About

emeeks

Ch. 5, Fig. 17 - D3.js in Action

This is the code for Chapter 5, Figure 17 from D3.js in Action that shows how to use d3.svg.diagonal.radial() and its .projection() function to create circular dendrograms. This also implements d3.behavior.zoom() so that you can pan the canvas by dragging.