Skip to content

toscawidgets/tw2.protovis.custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tw2.protovis.custom

Author

Ralph Bean <rbean@redhat.com>

tw2.protovis.custom 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.

Description

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

This module, tw2.protovis.custom, provides toscawidgets2 (tw2) widgets that render protovis data visualizations.

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/tw2/protovis/custom/samples.py

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

$ git clone git://github.com/toscawidgets/tw2.protovis.custom.git
$ cd tw2.protovis.custom
$ mkvirtualenv tw2.protovis.custom
(tw2.protovis.custom) $ pip install tw2.devtools
(tw2.protovis.custom) $ python setup.py develop
(tw2.protovis.custom) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.

About

tw2 wrapper for the stanford visualization group's 'protovis' toolkit ('custom' widgets)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages