<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 options = {
title: 'USA City Distribution',
legend: 'none' // Hides the Legend.
};
var dataArray = new Array(); ;
dataArray.push(["ShipCity", "TotalOrders"]);
dataArray.push(["Albuquerque", 18]);
dataArray.push(["Anchorage", 10]);
dataArray.push(["Boise", 31]);
dataArray.push(["Elgin", 5]);
dataArray.push(["Butte", 3]);
dataArray.push(["Eugene", 11]);
var data = google.visualization.arrayToDataTable(dataArray);
var chart = new google.visualization.PieChart(document.getElementById("chart"));
chart.draw(data, options);
}
</script>
<div id="chart" style="width: 900px; height: 500px;">
</div>