3 ms·
A few differences. 1. You don’t have to install anything, so running (or forking) someone else’s notebook is as simple as clicking a link. 2. It’s reactive, whi
by mbostock 9y ago
A few differences. 1. You don’t have to install anything, so running (or forking) someone else’s notebook is as simple as clicking a link. 2. It’s reactive, which means simpler code and better feedback, particularly when building user interfaces or analyzing realtime data. 3. It runs in the browser so you have direct access to powerful graphics (and GPU computation): Canvas, SVG, WebGL. 4. You can quickly import code for reuse from other notebooks, making a notebook a kind of lightweight library as well as a human-readable document.
- goatlover 9y ago> 3. It runs in the browser so you have direct access to powerful graphics (and GPU computation): Canvas, SVG, WebGL Jupyter is a web server. Notebooks run in the browser. iPython the kernel can run on the command line in addition to the browser. > 1. You don’t have to install anything, so running (or forking) someone else’s notebook is as simple as clicking a link Jupyter lets you clone notebooks with the click of a button. Also, you can run Javascript from a Notebook cell, and there are Python libraries that interface with the JS visualization libraries, like Plotly.
- acosmism 9y agosame as https://gryd.us https://gryd.us
- dang 9y agoYou've crossed into spamming HN with those links, a long time ago in fact. Please don't do this. It's fine to link to your stuff when it's relevant and serves good conversation. It's not fine to use HN just for promotion.
- danso 9y agoJupyter Notebooks run in the browser but what examples are there of being able to write Python and have the same kind of access to the DOM and graphics APIs like you have with JavaScript?
- goatlover 9y agoipywidgets for creating interactive html widges & dashboards and Plotly, Bokeh, and nvd3 are 3 examples for visualaition that integrates Python with JS libraries. Of course JS gives you full flexibility for talking to the DOM and graphics APIs, but web apps are not the main focus of data science. The web is just one possible means to presentation or collaboration.
- iamwil 9y agoWere there objections by collaborators or in your own mind, of whether enough people would abandon Jupyter Notebooks to use Observable? Or was it just not an issue, because you figured 1) not having to installing anything and 2) reactive would be enough to win converts?