RaphaelJS offers the advantages of SVG with an IE fallback. It's a Javascript library that outputs VML in IE6+ and SVG everywhere else. The graphs can be manipulated in JS after their creation to create animations. http://raphaeljs.com/
Also has the disadvantage of adding a lot of unnecessary overhead to SVG, changing how you interact with it, and preventing you from using lots of SVG features. For anything that needs much redrawing or interaction, the IE fallback can be extremely slow. If you have reasonably simple needs or can adapt an existing Raphael demo, go for it. For my own projects, I don’t think it’s worth it, but YMMV. Protovis is a much…
SVG: The best way to graph quantitative data
11–17 of 17 posts
Re: SVG: The best way to graph quantitative data
#12Also - just one snarky comment on JS style:
if(!!document.createElementNS
&& !!document.createElementNS('http://www.w3.org/2000/svg, "svg").createSVGRect) {
No need for the bangs!Re: SVG: The best way to graph quantitative data
#13Re: SVG: The best way to graph quantitative data
#14RaphaelJS offers the advantages of SVG with an IE fallback. It's a Javascript library that outputs VML in IE6+ and SVG everywhere else. The graphs can be manipulated in JS after their creation to create animations. http://raphaeljs.com/
Also has the disadvantage of adding a lot of unnecessary overhead to SVG, changing how you interact with it, and preventing you from using lots of SVG features. For anything that needs much redrawing or interaction, the IE fallback can be extremely slow. If you have reasonably simple needs or can adapt an existing Raphael demo, go for it. For my own projects, I don’t think it’s worth it, but YMMV. Protovis is a much…
Re: SVG: The best way to graph quantitative data
#15It's worth noting that Android browsers don't support SVG (yet).
Re: SVG: The best way to graph quantitative data
#16Ironically, Adobe used to be the biggest supporter of SVG... before they purchased Flash. Their svg renderer was by far the best in the field at the time, and supported lots of wonderful features, including great ECMAscript (Javascript), had the ability to build AJAX-like interactions using remote requests, and was fundamentally awesome. It never made it out of beta and got killed when Flash became Adobe's new sweeth…