function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Lyceum of Natural History of New York', 2], ['Bulletin of the Illinois State Museum of Natural History', 1], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the United States National Museum', 7], ['Copeia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the Boston Society of Natural History', 1], ['Proceedings of the United States National Museum, 3', 1], ['Report of the United States Commissioner of Fish and Fisheries', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);