Hi asgallant, thanks for your help.
I've checked the csv file (attached) and looked at the array reculting from toArrays.
Looping document.write(cvsArray[i]) I see the contents of csvArray. I see the content as:
Element 0 contains: Country,VAL1,VAL2,Percent
Element 1 contains:
Austria,1,2,1.11
Element 2 contains: Algeria,252144,253327,99.53
After arrayToDataTable(csvArray), I used data.getColumnType() so see the type of each column created. Each column is of type string. I expect only column 0 to be a string.
The csv file seems ok to me. I don't understand why the columns are strings. Any ideas would be helpful!
Thanks,
K