Now that we have everything in place, it would be nice to add a little bit of interactivity.

Since the script which generates the graph outputs an image, all we need to do put in place a few combo boxes so that we can select the values we want for the graph, and then all we do is call a Javascript function to change the inner html for the div containing the image with a new image referencing the updated url.

Now we can dynamically change our input values to get the data we want the graph to show.



Convert  to