Use the scrollbar to change the degree of orgranization in the scatterplot and observe the corresponding changes in the correlation coefficient. Click on the "Change Sign" button to reverse the sign of the correlation and the scatterplot. This example illustrates the use of scrollbars and buttons as well as graphics that are constructed as needed.
This is an example of a large collection of statistical applets
available in the online textbook Seeing Statistics by Gary
McClelland. Password protection is temporarily turned off at the
Seeing Statistics site, so you may examine all the applets. Simply go
to
http://www.seeingstatistics.com
and click on the "Enter" button. Note that this will open a new
window. You may want to examine the other example applets at this ATI
Java site before going to Seeing Statistics.