Excellent! I had always envisioned using D3 to manipulate SVG
generated by some other application, but now you've demonstrated the
perfect use case. I love it!
Mike
Take a look at getScreenCTM:
http://www.w3.org/TR/SVG/types.html#__svg__SVGLocatable__getScreenCTM
Mike