Program the application according to the following specification:
o The application takes the number of points to be calculated as user input.
o It passes the number of points to a function that generates random point
coordinates and writes them into an array of points in the following syntax:
o The points should vary +/- one degree around a central coordinate of your
o After all points have been generated, the “generate point” function calls a
“sort and count” function.
o The “sort and count” function checks in which quadrants the points fall:
north-west, north-east, south-west or south-east of your central coordinate.
o The sum of points for each quadrant are displayed on the website.
and the other task
Explore the data
o Access the JSON dataset from Movebank that is returned from this REST
[login to view URL]
o explore the data with your browser and answer the following questions:
o The tracks of which species are the recorded in this file?
o How many individual animals (“individuals”) are present in the data?
o How can the latitude coordinate be accessed through the JSON hierarchy?
Finish the code line that assigns the latitude of the first data record of the
second animal in the file to your yCoord variable:
var yCoord = ajaxResponse.resposeJSON.