This version illustrates how to update the SVG plot being displayed in the second embeded element but using code entirely within this HTML document. The things of interest to note are This seems to work on Opera and not Firefox at present. (Note, us type="image/svg+xml".)

Duncan Temple Lang <duncan@wald.ucdavis.edu>
Last modified: Mon Nov 28 11:16:18 PST 2011