I will need to supply a large data set consisting of numbers to a algorithm written in JavaScript. It will do some calculations and store the output in variables. The data-set will have around 1000 numbers and I will have multiple data set which will I will select using buttons on the screen.
I have been suggested to use JSON files. I am implementing an AV voting system so a voter would have to rank their vote in preference. Meaning that Voter 1 will have multiple votes which will need to be parsed.
Any ideas on how to supply these numbers?
It sounds like they are static. If so:
Using javascript files