block by syntagmatic 4076122

d3 src tree

Full Screen

A visualization of files in the src directory of the d3 repository, based on Reingold-Tilford Tree.

Data Collection

Use git to clone a repository, then du to create a tsv with the directory contents.

git clone git://github.com/mbostock/d3.git
(echo -n 'size\tfile\n'; du -a d3) > d3.tsv

Burrow - recursive nesting

Branches may go to an arbitrary depth. burrow() creates this data structure from a JSON table. It’s still getting tweaked, an example will go here when it’s ready.

index.html

burrow.js

d3.v3.tsv

underscore-1.4.2.tsv