Skip to content
Context-Aware, Recommender-Powered Visualization Authoring
Jupyter Notebook Other
Branch: master
Clone or download

Latest commit

Latest commit bf36717 Sep 20, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ipynb_checkpoints Fix bugs, add a few features. Aug 30, 2019
.vscode mkiii Feb 22, 2019
analysis .. Sep 20, 2019
dziban.egg-info Fix bugs. Sep 13, 2019
dziban .. Sep 20, 2019
examples .. Sep 20, 2019
.DS_Store .. Sep 20, 2019
.gitignore new prototype Feb 12, 2019
Cold vs Anchored.py Change alg, add analysis. Sep 15, 2019
Evaluation Example.ipynb Fix bugs. Sep 13, 2019
LICENSE Initial commit Jan 25, 2019
README.md Update README.md Mar 21, 2019
__init__.py mkiii Feb 22, 2019
requirements.txt initial commit Jan 26, 2019
setup.py mkiv Mar 9, 2019

README.md

Dziban

WIP

Prototype Status

Current prototype: MKIV.

Tutorial & Demo

Check out the Notebook.

Here's a quick peek.

img

Installation

  1. Clone the multi-vis branch of draco, found here. And follow the installation instructions.

  2. Install dependencies: pip install -r requirements.txt.

  3. Install Dziban: pip install -e ..

  4. Start up a notebook: jupyter notebook.

  5. Import Dziban and perhaps a dataset from vega_datasets.

from dziban.mkiv import Chart
from vega_datasets import data

Follow the demo for usage examples.

The important stuff

base.py <>

base definition for a chart, including initialization

chart.py <>

programming layer, exposed to user

encoding.py <>

AST node for encoding objects

field.py <>

field methods for a chart, exposed to user

graphscape2asp.js <>

script for translating Graphscape definitions and weights into ASP (to be placed into Draco). See below.

In addition, Dziban uses a modified version of Draco, which supports multi-view and Graphscape's transition reasoning. This can be found on this branch. There are changes to the original Draco scattered about. Noteably:

compare.lp <>

transition definitions for Graphscape

compare_weights.lp <>

weights for these transitions

The whole system

has been modified to allow for multiview reasoning (many other files, e.g. define.lp, soft.lp, optimize.lp, run.py, asp2vl, optimize_draco.lp, optimize_graphscape.lp, and more and more).

You can’t perform that action at this time.