|Author:||Ralph Bean <firstname.lastname@example.org>|
Peep the live demonstration.
protovis composes hierarchies 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.hierarchies in the WidgetBrowser
The best way to scope out tw2.protovis.hierarchies is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.protovis.hierarchies/tw2/protovis.hierarchies/samples.py
To give it a try you'll need git, python, and virtualenvwrapper. Run:
$ git clone git://github.com/toscawidgets/tw2.protovis.hierarchies.git $ cd tw2.protovis.hierarchies $ mkvirtualenv tw2.protovis.hierarchies (tw2.protovis.hierarchies) $ pip install tw2.devtools (tw2.protovis.hierarchies) $ python setup.py develop (tw2.protovis.hierarchies) $ paster tw2.browser
...and browse to http://localhost:8000/ to check it out.