function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 3], ['Arthropod Systematics & amp; Phylogeny', 2], ['Biodiversity Data Journal', 108], ['Biosystematica', 3], ['Deutsche Entomologische Zeitschrift', 9], ['European Journal of Taxonomy', 14], ['Insecta Mundi', 22], ['Journal of Natural History', 4], ['Linzer biologische Beiträge', 70], ['Memoirs of Museum Victoria', 59], ['Records of the Zoological Survey of India', 7], ['Systematic Entomology', 1], ['ZooKeys', 73], ['Zoosystema', 7], ['Zootaxa', 101] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=483)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);