Use layers to create plots within a browser. Each point to be plotted is rendered via a layer (using the DIV tag). Mozilla/Firefox/IE seem to handle thousands of layers without any problem. Can attach event handler to each point for additional interactivity. Snippet example is housed within a JSP at the location below.
Same technique can be used to create lines between rendered objects on the fly. Compute the equation of a line between two rendered objects. Plot the line point by point and render via div's.
Code source and demo are at
click on the jsp for the demo.
click on the txt file and then view source to see the code.
seems to work just fine on IE5.0 or greater / MOZILLA / FIREFOX