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 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, and this SO post 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 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?