views:

273

answers:

2

I'm writing a jQuery application to allow analysis of data with the help of visual cues. My data is retrieved via XMLHttpRequest in the form of JSON. The visual cues include histograms, spark lines, and various other graph types. The idea is that the user is able to narrow their data via these various visual views.

My question is thus - aside from the Google Charts API, does there exist a JavaScript way of presenting a Venn Diagram?

Requirement: no Flash.

Canvas is acceptable.

+4  A: 

In a word:

Raphael

jvenema
Wow, haven't ever heard of this one. Awesome, thanks. Not jQuery specific, but useful nonetheless. Wish I could assign two answers.
knowncitizen
It works great with jQuery, by the way :)
jvenema
A: 

An alternative to the vector-based Raphael approach would be processing.js which is canvas-based. That said, Raphael is a very nice drawing library as well.

awesomo
True, but Raphael has support for IE, while processing.js does not, and also uses SVG/VML, which are "true" DOM elements that support DOM events.
jvenema
I'm not arguing the merits of one over the other, just presenting an alternative; I personally prefer vector-based graphics any day. IE can be supported easily via Google's excanvas (http://excanvas.sourceforge.net).
awesomo
Wow, I'm a little surprised that I didn't think of processing.js - thanks.
knowncitizen