Brunel defines a highly succinct and novel language that produces interactive data visualizations using pandas DataFrame objects. The language is well suited for both data scientists and more aggressive business users. The system interprets the language syntax and produces live visualizations directly within Jupyter notebooks.
Articles and notes on Brunel can be found in the brunelvis.org blog. Videos are available on YouTube.
Details about the language can be found in the Brunel Language Tutorial
Examples can be found in the Brunel Visualization Gallery and the Brunel Visualization Cookbook.
See the Release Change Log for new features and changes.
Please report any issues on our Github site. Q&A available on Gitter
Dependencies
Brunel Visualization currently only works in IPython/Jupyter notebooks which must be installed prior to installing Brunel.
Java 1.7+ must be installed
It is likely that environment variable JAVA_HOME also needs to be properly set to the location of the Java installation.
Installation
pip install brunel
Note, if after installing the visualizations are not visible try installing using:
pip install brunel --user
Example
Sample code that reads data from a CSV file and creates a simple bar chart of averages using the Brunel magic function:
import pandas as pd
import brunel
cars = pd.read_csv("data/Cars.csv")
%brunel data('cars') x(origin) y(horsepower) mean(horsepower) bar tooltip(#all) :: width=300, height=300
Release files for brunel 2.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brunel-2.6.2.tar.gz | 2.2 MB | Details |
Release files / brunel-2.6.2.tar.gz
| Download URL | brunel-2.6.2.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
086b72bf8f527e8eff12eb58da549365cdd04df57c43ebe774afdee258fd2cd9
|
|
BLAKE2b-256 checksum How to use checksums |
a8e36f9991ffca86ddce5abd64d130e3ceab88252dfab7c1a9a620626486ae3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |