function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 3], ['Biodiversity Data Journal', 194], ['Biosystematica', 3], ['Deutsche Entomologische Zeitschrift', 21], ['European Journal of Taxonomy', 14], ['Insecta Mundi', 33], ['Journal of Natural History', 4], ['Linzer biologische Beiträge', 112], ['Memoirs of Museum Victoria', 88], ['Papéis Avulsos de Zoologia', 3], ['Records of the Zoological Survey of India', 7], ['ZooKeys', 92], ['Zoological Systematics', 4], ['Zoosystema', 24], ['Zootaxa', 211], ['Other (2)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=816)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);