I would like to reference the d3 JavaScript library in my Jupyter Notebook. However, the remote node that I am working on (in AWS) has no outbound HTTP access. I figured I can [download](https://github.com/d3/d3/releases/download/v4.12.2/d3.zip) the `js` file, SCP it to the node, and reference it locally (from the node back to itself or the local file system). 

I followed the [tutorial here](https://blog.thedataincubator.com/2015/08/embedding-d3-in-an-ipython-notebook/), and this [SO post](https://stackoverflow.com/questions/35946898/jupyter-input-cell-with-required-javascript-file-are-evaluated-at-page-load) is somewhat getting towards what I want to do (though the OP is asking for something different). The tutorial references d3 via HTTP. 

If I simply modify [the code](https://github.com/cmoscardi/embedded_d3_example/blob/master/Embedded_D3.ipynb) to reference a local d3 JS file as follows, the example no longer works.

```
%%javascript
require.config({
  paths: {
      d3: 'd3.min.js'
  }
});

```

Observing the JavaScript console does not produce any errors. 

Any ideas on how reference local 3rd party JavaScript libraries in a Jupyter Notebook?