* Move scatterChart function definition from HTML page to JavaScript
file.
* Making the scatterChart be able to control the data access interval.