I have a large csv file that contains a country and a corresponding piece of data for that country. 
 In the form (excel example):
[Country1, Data1],
[Country2, Data2] etc
How would use a loop with the csv file to produce each item in the Geocharts array. Instead of writing them all out as in the example below.
 function drawRegionsMap() {
    var data = google.visualization.arrayToDataTable([
      ['Country', 'Popularity'],
      ['Germany', 200],
      ['United States', 300],
      ['Brazil', 400],
      ['Canada', 500],
      ['France', 600],
      ['RU', 700]
    ]);
I'm not really sure how to work with the csv file as I haven't worked with them in js before, however I did stumble upon the jquery-csv tool at https://github.com/evanplaice/jquery-csv but am not really understanding it fully.
 
     
    