Why can't I use d3.js with HTML() ? #4001
Replies: 2 comments 2 replies
|
Lesson learned. For whatever reason, d3 must be loaded to js kernel using javascript, and only then my html output rendered via This is the code that works: and see for yourself the container situation by running this in a clean, new notebook: |
|
I am keen to understand the relationship between the js kernel and the call to How do these things interact? |
Uh oh!
There was an error while loading. Please reload this page.
The cell below ends up rendering only the status div. The html that I'm trying to render is also written to disk and if I load it with Edge, it displays correctly. To the generated html works fine in a browser. It seems to be executing until the point it updates the status div after making the calls to
d3too, but the svg is not displayed in the notebook. What am I missing here?All reactions