News for hackers. Stuff that matters.
Re:Embedding D3 in an IPython Notebook by spot on Thursday August 27, 2015 @07:54AM (#10128859)
Beaker Notebook has much cleaner support for integrating d3 (or any JS lib) with Python or other languages: http://sharing.beakernotebook.com/gist/anonymous/e21582541d7...

learn more at http://BeakerNotebook.com/

Re:Embedding D3 in an IPython Notebook by c_moscardi on Thursday August 27, 2015 @10:09AM (#10129457)
Very 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/e21582541d7...

Re:Embedding D3 in an IPython Notebook by tolmasky on Thursday August 27, 2015 @01:56PM (#10130952)
In case anyone's curious, this is what it looks like using just javascript: https://tonicdev.com/tonic/d3-example-from-beaker (a JS port of http://sharing.beakernotebook.com/gist/anonymous/e21582541d7... ).
Re:Embedding D3 in an IPython Notebook by JPKab on Thursday August 27, 2015 @12:09PM (#10130259)
I'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.

Re:Embedding D3 in an IPython Notebook by tdaltonc on Thursday August 27, 2015 @01:44PM (#10130880)
I 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.
Re:Embedding D3 in an IPython Notebook by jchendy on Thursday August 27, 2015 @05:23PM (#10132201)
Part 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.
Re:Embedding D3 in an IPython Notebook by tdaltonc on Thursday August 27, 2015 @06:12PM (#10132479)
Why did they object to multiple languages within a notebook? What problem did they think it would create?
Re:Embedding D3 in an IPython Notebook by techdragon on Thursday August 27, 2015 @08:26AM (#10128965)
How have I not heard of this before.