function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 36], ['Archiv für Naturgeschichte', 1], ['Durban Museum Novitates', 1], ['Herpetologica', 1], ['Journal of Natural History', 12], ['Proceedings of the California Academy of Sciences', 13], ['Zoosystema', 8], ['Zoosystematics and Evolution', 150], ['Zootaxa', 59] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=281)', 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);