Giter Site home page Giter Site logo

ipyjs's Introduction

ipyjs

Reproducible data driven documents with IPython and JavaScript

IPython can inject HTML content and Javascript code directly onto a notebook. This, plus the easy production and interchange of JSON data between all components and languates inside the same notebook, allows the use of third party JavaScript libraries —or any other scripting language— to enhance the Reproducible capabilities of your notebook.

Used Libraries

  • Dynatable.js - Dynamic Tables with sorted columns, search and pagination.
  • Highcharts - Publish quality charts (bar, pie, line, scatter plots, etc.)
  • D3.js - Free format high quality charts
  • three.js - Three-dimensional graphs

Examples

Here are some simple examples to help you mix and match these Javascript libraries with your IPython notebooks:

  • dynatable_in_ipython Dynatable.js and Faker.js inside IPython example.

  • higcharts_in_ipython Highchards.js inside IPython example.

  • d3_in_ipython D3.js inside IPython example.

  • three_in_ipython three.js inside IPython example.

Note: You may want to download each notebook, inspect the code, and run it on your computer to actually see the generated charts or dynamic tables. I haven't put an autorun on the JavaScript code yet. If you have some suggestions please clone the project and make a pull request. I just had the reqular javascript autostart, when the dom is ready, but it worked only for the first graph using it. So I took it off the examples. I need a way to execute in a synchronous way several charts inside the notebooks.

ipyjs's People

Contributors

rafa2000 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.