News for hackers. Stuff that matters.
Re:Protovis - A visualization toolkit for JavaScript using SVG. by haberman on Tuesday October 19, 2010 @05:42PM (#1808914)
One thing I want that none of these demos seem to have is links. If part of my visualization is describing some system entity, I want to be able to click on that entry to drill-down. The drill-down page might be a completely different page that doesn't contain a visualization at all.

I've played around with SVG, which supports links if you use "object" or "embed" tags. But if you use either of those tags, the SVG image acts more like an iframe which has scroll-bars if the SVG is too big, and clicking the link loads the page in the the SVG's little box. If you use the "img" tag then the SVG flows with the page better, but links don't work. :(

Re:Protovis - A visualization toolkit for JavaScript using SVG. by schuylerd on Tuesday October 19, 2010 @05:50PM (#1808945)
You can set 'click' and 'hover' events for almost all of the objects created, which can obviously be to change document.location or window.open()
Re:Protovis - A visualization toolkit for JavaScript using SVG. by equark on Tuesday October 19, 2010 @06:36PM (#1809106)
This is exactly right. And these popups can be pure HTML/CSS. See this easy integration with the jQuery tipsy library.

http://vis.stanford.edu/protovis/ex/tipsy.html