How to install tw2.protovis.custom
- Download and install ActivePython
- Open Command Prompt
pypm install tw2.protovis.custom
Peep the live demonstration.
protovis composes custom views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction.
Sampling tw2.protovis.custom in the WidgetBrowser
The best way to scope out tw2.protovis.custom is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.protovis.custom/samples.py
To give it a try you'll need git, mercurial, python, and virtualenv. Run:
git clone git://github.com/ralphbean/tw2.protovis.custom.git
The following script will set up all the necessary tw2 dependencies in a python virtualenv:
The following will enter the virtualenv and start up paster tw2.browser:
...and browse to http://localhost:8000/ to check it out.