HTML, D3, and SVG in notebooks
This article contains Python and Scala notebooks that show how to view HTML, SVG, and D3 visualizations in notebooks.
If you want to use a custom Javascript library to render D3, see Notebook example: Use a JavaScript library.