mbostock/d3 — pull request #1572 by mbostock (2013-10-09 15:02:46+00:00)
Title: Use the owner document to create new elements.

Fixes #1533 and avoids “wrong document” error when appending elements to a different document than the one in which D3 was initialized.