Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

toscawidgets2 wrapper for the stanford protovis toolkit

Project Description
.. _toscawidgets2 (tw2):
.. _protovis:

tw2.protovis.hierarchies is a `toscawidgets2 (tw2)`_ wrapper for `protovis`_.

Live Demo

Peep the `live demonstration <>`_.


You can `get the source from github <>`_,
check out `the PyPI page <>`_, and
report or look into `bugs <>`_.


`toscawidgets2 (tw2)`_ aims to be a practical and useful widgets framework
that helps people build interactive websites with compelling features, faster
and easier. Widgets are re-usable web components that can include a template,
server-side code and JavaScripts/CSS resources. The library aims to be:
flexible, reliable, documented, performant, and as simple as possible.

`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.

This module, tw2.protovis.hierarchies, provides `toscawidgets2 (tw2)`_ widgets that render `protovis`_ data visualizations.

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/``

To give it a try you'll need git, mercurial, python, and virtualenv. Run:

``git clone git://``

``cd tw2.protovis.hierarchies``

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.
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tw2.protovis.hierarchies-0.1.a4.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source May 31, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting