3 ms·
Beaker Notebook has much cleaner support for integrating d3 (or any JS lib) with Python or other languages: http://sharing.beakernotebook.com/gist/anonymous/e21
by spot 11y ago
Beaker Notebook has much cleaner support for integrating d3 (or any JS lib) with Python or other languages: http://sharing.beakernotebook.com/gist/anonymous/e21582541d7c1fe60eb4 http://sharing.beakernotebook.com/gist/anonymous/e21582541d7...
learn more at http://BeakerNotebook.com/ http://BeakerNotebook.com/
- techdragon 11y agoHow have I not heard of this before.
- c_moscardi 11y agoVery cool. I think this is, ultimately, what Jupyter hopes to move towards. Literally their first example is embedding D3... http://sharing.beakernotebook.com/gist/anonymous/e21582541d7c1fe60eb4 http://sharing.beakernotebook.com/gist/anonymous/e21582541d7...
- JPKab 11y agoI'm happy that I found this and pissed that I didn't find it earlier. Looking forward to testing it. The fact that it works with Clojure is bad ass by itself.
- tdaltonc 11y agoI wonder if using JSON as a data bridge works well in practice. If it does, I imagine that a polyglot jupyter notebook type must be on the horizon.
- jchendy 11y agoPart of the reason we built Beaker was that the IPython devs explicitly stated they didn't believe in multiple languages within one notebook. It's possible that this opinion has changed with the Jupyter migration, but I haven't heard anything to that effect.
- tdaltonc 11y agoWhy did they object to multiple languages within a notebook? What problem did they think it would create?
- tolmasky 11y agoIn case anyone's curious, this is what it looks like using just javascript: https://tonicdev.com/tonic/d3-example-from-beaker https://tonicdev.com/tonic/d3-example-from-beaker (a JS port of http://sharing.beakernotebook.com/gist/anonymous/e21582541d7c1fe60eb4 http://sharing.beakernotebook.com/gist/anonymous/e21582541d7... ).