Embedding D3 in an IPython Notebook(christianmoscardi.com) |
Embedding D3 in an IPython Notebook(christianmoscardi.com) |
learn more at http://BeakerNotebook.com/
Literally their first example is embedding D3...
http://sharing.beakernotebook.com/gist/anonymous/e21582541d7...
Looking forward to testing it. The fact that it works with Clojure is bad ass by itself.
So far, I am coming to the conclusion that iPython is a tool for data scientists, but I am not really sure.
This is the description you're looking for: http://ipython.org/notebook.html
(Also, Hi Christian!)
Yeah, most of our curriculum uses regular old matplotlib. We only use this technique specifically in our D3 curriculum. In general I can't think of many use cases where this is actually better than just having a couple of files, aside from instructional ones.
IMHO Jupyter is actually easier to get working (even with Spark support) though.
Then, there are IPython Notebooks, which give you the HTML, cell-based frontend for executing code.
Jupyter is the v2/generalization for both of these things - there is the Jupyter shell, which is a plugin-friendly REPL, and Jupyter notebooks, which allow you to run code across a variety of langauges. AFAIK so far, you can only run one language per Jupyter notebook (though having dug around the source code, the possibility for multiple languages on a per-cell basis is very much there).
I still find myself using IPython and Jupyter interchangably, which probably doesn't help the confusion.
In terms of who uses this stuff: IPython notebooks are very popular across academia and for lectures/talks. Check out all the cool learning material here: https://github.com/ipython/ipython/wiki/A-gallery-of-interes...