function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Natal Museum', 1], ['Beaufortia', 1], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 1], ['Bulletin of the United States National Museum', 1], ['Copeia', 1], ['European Journal of Taxonomy', 2], ['Oceanologica et Limnologica Sinica', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Year book of the Carnegie Institution of Washington', 1], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);