function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 8], ['African Invertebrates', 4], ['Biodiversity Data Journal', 4], ['Linzer biologische Beiträge', 5], ['Palaeoentomology', 3], ['Papéis Avulsos de Zoologia', 2], ['Subterranean Biology', 1], ['ZooKeys', 3], ['Zoological Systematics', 2], ['Zootaxa', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);