Great stuff. I had gone down this path last year with not using attr and it was so hard to find good examples like this.
The thing I never figured out was how to use d3 axis as a svg generator. Starting from scratch on each project is quite painful for the axis and d3 axis is so nice.