The JavaScript InfoVis Toolkit 2.0 is out!

Posted in: javascript infovis toolkit , version
After more than a year of hard work I'm proud to announce the release of the JavaScript InfoVis Toolkit 2.0!

What's the JavaScript InfoVis Toolkit?

The JavaScript InfoVis Toolkit provides web standard based tools to create interactive data visualizations for the Web.

What's new in this version?

This version introduces radical new features, an API redesign and new visualizations. If you don't want to read the whole article and just want to play with the examples you can go to the demos page.

New Visualizations

With this version of the Toolkit the number of available visualizations has doubled. Some of the new visualizations are the AreaChart, BarChart and PieChart, which were described in more detail in this article. I've also added Sunburst and Force-Directed visualizations. I wrote about these visualizations before here and here. I also want to thank Pablo Flouret, who contributed most of the code for the Icicle visualization, also a new addition to the toolkit. You can play now with these visualizations at the demos page!

Features common to all visualizations

I've also enhanced all visualizations with new configuration options that enable new features. These features are:

A new TreeMap visualization

The underlying rendering functions in the TreeMap visualization have changed. While in prior versions of the Toolkit the TreeMap was DOM-based, this new version renders the TreeMap entirely in Canvas. This enables you to add custom nodes of any shape or nature you like (can be images, circles, polygons) and also to take advantage of the new animation engine of the toolkit to add smooth transitions for the drill-down. These new things can be tested at the TreeMap section in the demos page.

API Redesign

The old API was too low level. Before creating any visualization you had to manually create a Canvas widget and pass it as parameter to the visualization class. Also, many other parameters like width and height of the canvas were required. For Background canvases the API had a couple of flaws, and it wasn't clear how to use it either. Many of these things have been solved with the new API design. The Canvas class became an inner class implicitly created when making a new visualization. Width and height of the canvas are set to the container's offsetWidth and offsetHeight if they're not provided, and background canvases are easier to attach to the visualization. Most of all, there is now a single global object in the library: $jit. This declares the namespace for the library and makes sure you won't have conflicts with any other JavaScript library.

A new Website

Last but not least, I worked on a website redesign, taking advantage of the new HTML5/CSS3 features supported by major browsers. There's also a detailed documentation page to get you started.

It's alpha

Finally I'd like to say that this is an alpha version. There are lots of known bugs and I'm counting on you to report bugs, send fixes, and collaborate in any aspect of the toolkit.

Thanks

To Pablo Flouret for contributing code to the toolkit, and to my wife, Luz Caballero for making me happy. Now go get the Toolkit!
Comments
blog comments powered by Disqus