Skip to content
/ b2 Public

Bridging Code and Interactive Visualization in Computational Notebooks

License

Notifications You must be signed in to change notification settings

yifanwu/b2

Repository files navigation

B2

B2 is a Jupyter extension that augments your programming experience with interactive visualizations for data analysis. You can find the talk and demo here.

Load dataframes to visualizations in a dashboard area that you can interact with

Using interactions to drive cell computation using reactive cells

And more---see here for tutorials. If you ran into problems, feel free to open an issue, or email Yifan directly at [email protected], or via Twitter.

Installation

pip install b2-ext

Development

To build your own JS bundle:

pip install -r requirements.txt
python setup.py develop
jupyter nbextension install --py --symlink b2
npm run install
npm run watch

Deployment

npm run build
python setup.py sdist
twine upload dist/*

You may need pip install twine if you do not have twine already; as well as a PyPi account and permissions.

People

B2 is developed by Yifan at UC Berkeley, with advising from Joe, Arvind, and others.

If you are interested in using B2 or participating in our user study, please send Yifan a message at [email protected].