function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Beiträge Zur Entomologie = Contributions to Entomology', 16], ['Biodiversity Data Journal', 69], ['Far Eastern Entomologist', 2], ['Indian J Ent', 1], ['Insects of Guam II', 2], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 60], ['Proceedings of the Entomological Society of Philadelphia', 1], ['Proceedings of the Literary and Philosophical Society of Manchester', 1], ['Proceedings of the United States National Museum, 3', 1], ['Transactions of the Entomological Society of London', 1], ['Turkish Journal of Zoology', 9], ['ZooKeys', 89], ['Zootaxa', 77] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=331)', 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);