function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Belgian journal of entomology', 2], ['Biodiversity Data Journal', 6], ['Bulletin of the American Museum of Natural History', 2], ['Ecologica Montenegrina', 2], ['European Journal of Taxonomy', 19], ['Far Eastern Entomologist', 18], ['Faunitaxys', 12], ['Gottl. Friedr. Schniebes', 2], ['Insecta Mundi', 2], ['Journal of Orthoptera Research', 3], ['ZooKeys', 3], ['Zoological Systematics', 28], ['Zoosystema', 93], ['Zootaxa', 530], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=734)', 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);