No, it doesn't. It attaches nv to a reference to a new bare object. You want

```
this.nv = factory({}, root.d3);
//...
export = nv;
return nv;
```