$.getJSON('/getjson.php', function(json) { var dataTable = new google.visualization.DataTable(json); });