Skip to main content

toscawidgets2 wrapper for d3 (data-driven documents)

Project description

tw2.d3 is a toscawidgets2 (tw2) wrapper for d3.

Live Demo

Peep the live demonstration.


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.

d3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. As a trivial example, you can use d3 to generate a basic HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction. It is the successor of protovis.

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

Sampling tw2.d3 in the WidgetBrowser

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

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

$ git clone git://
$ cd tw2.d3
$ mkvirtualenv tw2.d3
(tw2.d3) $ pip install tw2.devtools
(tw2.d3) $ python develop
(tw2.d3) $ paster tw2.browser

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

Project details

Download files

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

Files for tw2.d3, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size tw2.d3-0.0.8.tar.gz (105.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page