I have seen graphs in Flash & stuff that basically adapt nicely to whatever the size of the browser or flexible element they are inside of.... I\'m not really too well verse
This will get you a responsive SVG
var w = 500, h=500; var paper = Raphael(w,h); paper.setViewBox(0,0,w,h,true); paper.setSize('100%', '100%');