Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Demote JSDOM to development dependency; fix #2190.

Code that previously assumed a global document or window now uses the related
node’s ownerDocument or ownerDocument.defaultView as appropriate.

If no related node is available, the corresponding code will crash; however, the
rest of D3 will work just fine. For example, you can’t use
unless a global document is available; it just doesn’t make sense. Use instead, followed by

Code that previously checked for a global on the window (e.g., XDomainRequest)
now uses the global context (`this`) rather than the window.
latest commit 9c3df31216
Mike Bostock authored
Something went wrong with that request. Please try again.