Before it is possible to run the provided code, test files need to be generated.

/*------------------------------------*/

To generate the data and html files, an index file must be executed:

"/scatterplot/index.php"
"/localhost/index.php"

This will fill the following folders:

"/*chart*/tests/canvasJS/"
"/*chart*/tests/d3/"
"/*chart*/tests/flotr2/"
"/*chart*/tests/Highcharts/"

"/*chart*/tests/data/"

/*------------------------------------*/

To generate the data on a local server it might be needed to increase the values of some settings for php. Such as settings related with timeout and memory limits (for example "memory_limit").

/*------------------------------------*/

Some browsers don't allow for security reasons to load json files from the local filesystem (for example Chrome). Because of this a local server might be needed to run the generated html files.

Generated html files are accessible in the following folders:

"/*chart*/tests/*library*/"