Code planned for use in tagtree screencast on getting started with d3