[IPython-dev] D3js and IPython

Brian Granger ellisonbg@gmail....
Tue Jan 8 10:48:03 CST 2013


Hi,

I saw this and it looks pretty cool.  We definitely want to improve
our d3 support.  In the next few months we are going to be improving
our architecture for javascript widgets to make these things possible.
 I would imagine that we will have some d3 examples that emerge out of
that work.  In the meantime, here is a branch with some early work in
this area:

https://github.com/ipython/ipython/pull/2518

Please have a look at this and give us feedback.

Cheers,

Brian

On Tue, Jan 8, 2013 at 8:26 AM, lecast <martin.zmk@gmail.com> wrote:
> This is a new thread but it is born out and related to a  previous discussion
> <http://python.6.n6.nabble.com/experiment-remote-execution-of-jquery-and-d3-code-into-the-browser-via-ipython-td4633053.html#a4955237>
> . The goal there was to live update figures created with d3js in IPython
> Notebook. It was suggested that a solution would be to use widgets, which I
> have to admit I did not have time to understand so instead I decided to
> create something that produces the end product I was aiming at, i.e. take
> output from Python, use d3js to create a table/figure, use some blackbox,
> have the output visible in the notebook (or be able to save it elsewhere as
> svg/html/png/etc).
>
> You can find an example notebook with a lot of custom tables and some
> figures  here <http://nbviewer.ipython.org/4484816/ipyD3sample.ipynb>  .
> They are all created based on data from Python, rendered in PhantomJs (in
> that case I just copy the html, but PhantomJs allows for conversion to other
> formats), and then published in the notebook.
>
> I created it for myself, so there is hardly any commenting in the file (I
> know, bad), but I have been using it for a few months now and it works
> really well. D3js has some great modern visualizations coded in and it takes
> only a few days to learn the syntax by doing.
>
> Personally I think it would be really nice to make it into an
> extension/package, but I lack experience/time to do that.
>
>
>
> --
> View this message in context: http://python.6.n6.nabble.com/D3js-and-IPython-tp5001661.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com


More information about the IPython-dev mailing list