Live data from Hacker News

Here's why Raphael.js and SVG totally rock.

trottercashion.com

11–20 of 56 posts

Re: Here's why Raphael.js and SVG totally rock.

#11
post #6
post #4

I have found myself using jQuery SVG more. This link shows what other people think of the two: http://stackoverflow.com/questions/588718/jquery-svg-vs-raphael The version of Raphael I used at one point had to be in complete control from object 1 and could not import SVGs. So let's say I generate an SVG via graphviz and then want to make some of the nodes interactive (or at least animate). I get a good amount of tween…

I agree - I tried Raphael but actually found it a bit limiting. I can live without IE support (I can use Flex for that) so jQuery SVG looked like the better choice. The only criticism I could make of jQuery SVG is that the docs often assume that you know a lot about SVG, but that is pretty minor.

I find that it is true in general. It seems too hard to learn about svg.

Re: Here's why Raphael.js and SVG totally rock.

#15
post #2

There's also gRaphael specifically for charting: http://g.raphaeljs.com/ Also, the article mentions that IE doesn't support the tag. While this is true, you only need to add the excanvas JS library to use in IE.

I've worked with gRaphael. it's still immature, and the code base is still immature. I'd look at protovis before taking a look at gRaphael.

However, I do wish that protovis is based on Raphael and jQuery.

Re: Here's why Raphael.js and SVG totally rock.

#16
post #12

I can't be the only one disturbed that the standard for graphics online is roughly the same as the standard for graphics on the desktop twenty some years ago. Oh, sweet, a moving square.

Yes, a moving square, from a couple lines of code, that can be easily changed to a twirly throbbing square, and can be shown on anyone's computer or mobile phone in the world by sharing a URL.

To get a moving square on the desktop twenty years ago took more lines of code, arguably harder to change to a twirly throbbing square, and usually copied to disk (or emailed) to show someone else by sharing the executable that may or may not run.

Re: Here's why Raphael.js and SVG totally rock.

#17
post #8

I really hope SVG finds its place in the new HTML5 wave. I would hate to see it die

SVG is currently supported in all major browsers except IE, and SVG 1.1 support is slated for IE9. (AFAIK, Chrome Frame also supports SVG, as a stopgap for pre-9 IE.)

It would seem that SVG has a bright future.

Re: Here's why Raphael.js and SVG totally rock.

#20
post #15
post #2

There's also gRaphael specifically for charting: http://g.raphaeljs.com/ Also, the article mentions that IE doesn't support the tag. While this is true, you only need to add the excanvas JS library to use in IE.

I've worked with gRaphael. it's still immature, and the code base is still immature. I'd look at protovis before taking a look at gRaphael. However, I do wish that protovis is based on Raphael and jQuery.

define immature
Post reply on HN