function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 88], ['Journal of Natural History', 75], ['Memoirs of Museum Victoria', 1], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 3], ['Species Diversity', 2], ['Turkish Journal of Zoology', 5], ['ZooKeys', 9], ['Zoosystema', 16], ['Zoosystematics and Evolution', 46], ['Zootaxa', 314] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=564)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);