Comments (5)
@n-riesco
Though some trial and error, I managed to use D3 with IJavaScript:
I'm hoping for more native support such as that with Tonic:
https://tonicdev.com/kiernan/tonic-d3
I wonder if this would feasible with IJavaScript?
from ijavascript.
Yes, you can. It is briefly documented here.
I will add a tutorial and some tools to illustrate how to inject Javascript into the notebook, but not right now. First I want to finish refactoring the code shared amongst IJavascript, jp-babel and jp-coffeescript.
from ijavascript.
@n-riesco Thank you. I'll close the issue for now.
from ijavascript.
On 08/11/15 13:16, Andy Shu Xin wrote:
@n-riesco https://github.com/n-riesco
Though some trial and error, I managed to use D3 with IJavaScript:
screen shot 2015-11-08 at 21 11 42 https://cloud.githubusercontent.com/assets/233354/11020563/ca321320-865d-11e5-8c0a-ca8e0ac32205.png
Thank you for sharing this.
The reason that I'm not ready yet to recommend the use of jsdom
is due to a conflict of versions:
- IJavascript supports
Ubuntu 14.04 LTS
, which shipsNode.js v0.10.25
. - 'jsdom' requires
Node.js v4
(unfortunately, thejsdom v3
series, which is compatible withNode.js v0.10
, is unmaintained).
I will drop the support for Ubuntu 14.04 LTS
once Ubuntu 16.04 LTS
is released.
I believe the version of Node.js
to be distributed with Ubuntu 16.04 LTS
is yet to be defined. It is promising that Debian Sid
, Ubuntu's parent distribution, is already providing Node.js v4.2.2
.
I'm hoping for more native support such as that with Tonic:
https://tonicdev.com/kiernan/tonic-d3I wonder if this would feasible with IJavaScript?
Yes, I think it's not only feasible but also desireable.
I also hope that the coming $$mimer$$
in IJavascript will make easy to provide custom outputs. A custom $$mimer$$
would be able to generate automatically a graphical output for specific types (DOM nodes, arrays, objects...).
from ijavascript.
@n-riesco Wow, thanks for the information. I certainly look forward to it!
from ijavascript.
Related Issues (20)
- [requirejs] Unable to load library with Jupyter Notebook HOT 5
- Thoughts on how to run iJavaScript on mybinder? HOT 4
- No output when using %%javascript magic HOT 2
- Unable to run in Ubuntu WSL2 Visual Studio Code (`spawn ijskernel ENOENT`) HOT 2
- import / require statements break vscode code analysis HOT 2
- IJavaScript stopped working after upgrading the major version of node.js HOT 2
- Jupyter notebook (and Jupyter lab too) gives error when loading d3 library HOT 2
- Updated NVM version, got error "no such file or directory" ".../bin/node" HOT 2
- Add a rebuild command
- jupyterlite Support HOT 1
- Java script kernel stops working in Jupyter Lab HOT 3
- Is it still maintained HOT 4
- Cant install ijavascript (npm ERR! enoent spawn C:\Windows\system32\cmd.exe ENOENT) HOT 2
- ijsinstall: not working due to wrong use of ipython --user HOT 6
- SyntaxError: Cannot use import statement outside a module HOT 2
- install failed due to zeromq (Node v21) HOT 1
- npm install fails on macos Sonoma 14.4.1 HOT 3
- When I use npm to install the ijavascript kernel and switch to it in the Jupyter environment in VS Code, then switch back to the Python environment, the code suggestions are still those from the JS environment. How can I fix this? HOT 1
- npm warn deprecated [email protected]: Please upgrade to version 7 or higher. HOT 3
- JSON.stringify() wraps the output within ` (Grave Accent mark) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ijavascript.