title: Error: Not an array in Google charts
body: <p>I have manage to output the results from the database by outputting the following string:</p>
  
  <pre><code>[['Grupo de edad','Mujeres','Hombres'],['Menos de 40',2,0],['De 40 a 49',7,3],['De 50 a 59',8,5],['De 60 a 69',20,25],['De 70 y más',6,10]]
  </code></pre>
  
  <p>If i paste exactly this text into the following:</p>
  
  <pre><code>var data = google.visualization.arrayToDataTable([['Grupo de edad','Mujeres','Hombres'],['Menos de 40',2,0],['De 40 a 49',7,3],['De 50 a 59',8,5],['De 60 a 69',20,25],['De 70 y más',6,10]]);
  </code></pre>
  
  <p>I can visualize correctly the chart.</p>
  
  <p>However, if i get the data by using jQuery .get() function and then i pass the data to google visualization function like the following:</p>
  
  <pre><code>google.load("visualization", "1.1", {packages:["corechart","bar"]});
  google.setOnLoadCallback(drawVisualization);
  
  function drawVisualization() {
      $.get("{{URL::action('ChartController@investigadoresEdadSexo')}}", function(datos, status){
          var data = google.visualization.arrayToDataTable(datos);
          var options = {
              //many options ...
          };
  
          var chart = new google.visualization.ComboChart(document.getElementById('chart_div'));
          chart.draw(data, options);
      });//End of jQuery .get
  }
  </code></pre>
  
  <p>I get the </p>
  
  <blockquote>
    <p>Not an Array error</p>
  </blockquote>
  
  <p>I know that i am passing a string, but why doesn't it work if i have tested that string by typing (copying and pasting) google.visualization.arrayToDataTable() function? Or how do i make that function interpret that string as an array?</p>
  
  <p>How do i fix this?</p>