Protovis - Visualization toolkit for JavaScript using SVG.
vis.stanford.edu
vis.stanford.edu
Please add the ONE line of code required for this to run in IE
Look, Internet Explorer had VML support way back in IE5, and it's trivial to emulate Canvas with it. Google even supplies a library that you can include:http://code.google.com/p/explorercanvas/
Put that in. Today.
It's surprising that they would put this out into the world as though it were finished, seeing as it runs on such a small slice of the world's browsers.
Seems like there's nothing there that couldn't work in Canvas (and thus be usable in every major browser). I wonder why they chose such a dead-end tech to do it in.
I would like to know their reasons.
Besides, XML gives you full DOM-access - that's the thing where I see the true difference as compared to Canvas. The programming model is much more like "usual" client-side Javascript programming - append elements to parents, react to events that happen on elements etc., whereas Canvas has a fairly imperative programming model.
So, to cut a long story short - if you are offended by the XML and verbosity give it another chance and look "through" the XML to discover the declarative nature of SVG and the corresponding programming model...
For example for a music-editing software project (internal, not publically released) I once used SVG as the primary User interface description language, with nodes named according to the verbs and objects in the UI paradigm, with the DOM structure being modified from a C++ application as needed depending on realtime input from the user.
It works fabulously for this .. All I had to do was provide a dictionary of key node names to a UI designer, tell them "whatever you call a 'dial' has to have a 'needle', and then it will work for all controls that are using your dial skin", and hey-presto: instant UI appeal! Without any major coding changes it was possible to have very fresh, very appealing user interfaces built up by artists overnight .. and another thing I found interesting was that those artists I worked with that understood that the Node Editor was the primary interface to my program, were able to get really nice stuff done, fast, and with enthusiasm.. whereas those who complained that SVG wasn't Illustrator and that they were /never/ going to learn Inkscape to build the GUI and that I had to learn to use 'the real tools .. like Illustrator' .. well, that was just a waste of time.
So my personal experience with SVG has been superb .. I really think its an excellent data form for design user interfaces and, given the appropriate strategy for how to lay out SVG nodes in a manner that makes sense (hint: group), it can be very fun for artistic/creative hats to participate directly in the skinning of an application ..