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