function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 4], ['Biodiversity Data Journal', 88], ['Entomo Helvetica', 4], ['Entomologisches Archiv', 1], ['Insecta Mundi', 281], ['Insecta mundi', 3], ['Linzer biologische Beiträge', 7], ['Méquignon-Marvis', 1], ['Méquignon-Marvis Père et Fils', 1], ['Papéis Avulsos de Zoologia', 14], ['The Coleopterists Bulletin', 9], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 4], ['ZooKeys', 23], ['Zoological Systematics', 40], ['Zootaxa', 38], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=520)', 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);