Any idea why code isnt working?

<html>
  <head>
    <script type="text/javascript" 
src="https://www.google.com/jsapi";></script>
    <script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
                 
            ["State","Expenditure","Percent of GDP","Region","Graduation 
Rate After Four Years"],
            ["Alabama",5165,0.214,"Southeast",0.718],
            ["Alaska",1635,0.135,"Far West",0.755],
            ["Arizona",5454,0.186,"Southwest",0.747],
            ["Arkansas",3342,0.155,"Southeast",0.75],
            ["California",47674,0.209,"Far West",0.782],
            ["Colorado",7547,0.265,"Rocky Mountain",0.798],
            ["Connecticut",3930,0.14,"New England",0.751],
            ["Deleware",2227,0.243,"Mid-Atlantic",0.755],
            ["Florida",12636,0.181,"Southeast",0.708],
            ["Georgia",9916,0.241,"Southeast",0.699],
            ["Hawaii",1794,0.155,"Far West",0.754],
            ["Idaho",1634,0.226,"Rocky Mountain",0.84],
            ["Illinois",9588,0.144,"Greater Lakes",0.819],
            ["Indiana",8680,0.313,"Greater Lakes",0.772],
            ["Iowa",3251,0.166,"Plains",0.879],
            ["Kansas",3737,0.259,"Plains",0.845],
            ["Kentucky",5021,0.196,"Southeast",0.799],
            ["Louisiana",5367,0.181,"Southeast",0.688],
            ["Maine",1297,0.166,"New England",0.828],
            ["Maryland",7073,0.191,"Mid-Atlantic",0.822],
            ["Massachusetts",6402,0.106,"New England",0.826],
            ["Michigan",13059,0.268,"Greater Lakes",0.759],
            ["Minnesota",9729,0.272,"Plains",0.882],
            ["Mississippi",3174,0.163,"Southeast",0.638],
            ["Missouri",5229,0.228,"Plains",0.837],
            ["Montana",936,0.155,"Rocky Mountain",0.819],
            ["Nebraska",1488,0.146,"Plains",0.838],
            ["Nevada",1976,0.222,"Far West",0.578],
            ["New Hampshire",1171,0.233,"New England",0.863],
            ["New Jersey",12651,0.243,"Mid-Atlantic",0.872],
            ["New Mexico",2870,0.197,"Southwest",0.673],
            ["New York",25657,0.193,"Mid-Atlantic",0.76],
            ["North Carolina",10605,0.206,"Southeast",0.769],
            ["North Dakota",851,0.143,"Plains",0.884],
            ["Ohio",11515,0.198,"Greater Lakes",0.814],
            ["Oklahoma",3474,0.162,"Southwest",0.785],
            ["Oregon",3680,0.143,"Far West",0.763],
            ["Pennsylvania",12820,0.189,"Mid-Atlantic",0.841],
            ["Rhode Island",1209,0.149,"New England",0.764],
            ["South Carolina",3903,0.175,"Southeast",0.682],
            ["South Dakota",578,0.14,"Plains",0.818],
            ["Tennessee",5609,0.178,"Southeast",0.804],
            ["Texas",26163,0.27,"Southwest",0.789],
            ["Utah",3091,0.245,"Rocky Mountain",0.786],
            ["Vermont",1613,0.325,"New England",0.914],
            ["Virginia",6928,0.155,"Southeast",0.812],
            ["Washington",7873,0.237,"Far West",0.772],
            ["West Virginia",2221,0.095,"Southeast",0.783],
            ["Wisconsin",6935,0.162,"Greater Lakes",0.911],
            ["Wyoming",474,0.055,"Rocky Mountain",0.803]
        ]);

        var options = {
          title: 'Correlation between state expenditure, percentage of GDP, 
and Graduation Rate after four years of the various states (2013)',
          hAxis: {title: 'Expenditure'},
          vAxis: {title: 'Percent of GDP'},
          bubble: {textStyle: {fontSize: 11}}
        };

        var chart = new 
google.visualization.BubbleChart(document.getElementById('chart_div'));
        chart.draw(data, options);
      }
    </script>
  </head>
  <body>
    <div id="chart_div" style="width: 900px; height: 500px;"></div>
  </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to