Object Library > Applets > Interactive Scatterplot
Click in the graph to generate bivariate data. The selected points are shown as red dots in the scatterplot, and the coordinates are recorded in the first table. The second table gives the mean and standard deviation of the x and y coordinates, and the correlation. In the graph, the horizontal cross hair is centered at the mean of the x-data and extends one standard deviation on either side. Similarly, the vertical cross hair is centered at the mean of the y-data and extends one standard deviation on either side. Finally, the least squares regression line is shown in the scatterplot.
This applet can be used to illustrate the mean and standard deviation of a data set and the correlation and linear least squares regression line for a bivariate data set. In particular, students can see the effect on the correlation and regression line of adding a point. For more information on the mathematical analysis, see
Click on the link below to download the Java archive file:
To add the applet to your web page, insert the following in the html file, at the point where you want the applet to appear:
<applet code="edu.uah.math.experiments.BivariateGame.class" archive="BivariateGame.jar"
width="400" height="475"></applet>
The jar file and the html file must be in the same folder.
This width and height dimensions are simply suggestions and can be varied. Generally, components such as graphs and tables expand and contract proportionally, while components such as buttons, scrollbars, dice, and coins are fixed in size.
Copyright © 2001-2003 Kyle Siegrist, Dawn Duehring
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
If you are interested in the Java source code or the Java documentation and object model for this applet, please visit BivariateGame in the Object section of the Library.