You can download the source code here. Notice that I used D3 version 3.