Skip to content

Instantly share code, notes, and snippets.

@jakevdp
Last active February 11, 2024 00:16
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakevdp/289be7d8c6e3a1248921 to your computer and use it in GitHub Desktop.
Save jakevdp/289be7d8c6e3a1248921 to your computer and use it in GitHub Desktop.
D3/IPython widget example

D3 IPython Widget Example

A simple example of two-way communication between IPython notebook and javascript, using a D3 widget.

View this notebook on nbviewer, but be aware that it won't work without being connected to an IPython kernel!

It's better to download the notebook itself and open it with IPython notebook.

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment