Author: Ralph Bean <rbean@redhat.com>
An examle of the RadialGraph widget

A screenshot of the tw2.jit.widgets.RadialGraph widget in action. Its crazy interactive when its not just a screenshot!

tw2.jit is a toscawidgets2 (tw2) wrapper for thejit.

Live Demo

Peep the live demonstration and screenshots.


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.

The JavaScript InfoVis Toolkit (thejit) is a javascript library that provides web standard based tools to create interactive data visualizations for the Web. It is pretty, interactive, and fast.

This module, tw2.jit, provides toscawidgets2 (tw2) widgets that render thejit data visualizations.

Sampling tw2.jit in the WidgetBrowser

The best way to scope out tw2.jit is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.jit/tw2/jit/samples.py

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

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

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