mbostock/d3 — Issue #475: Better require("d3") compatibility.
Author: mbostock
Created: 2012-01-29 05:24:51+00:00
State: open

We should probably do something like this:

```js
if (typeof module === "undefined") self.d3 = d3;
else module.exports = d3;
```

Rather than always defining d3 in the global namespace.