function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Conilon coffee - The Coffea canephora produced in Brazil', 1], ['Entomologisk Tidskrift', 1], ['Far Eastern Entomologist', 1], ['Historia fisica y politica de Chile', 1], ['Insecta Mundi', 1], ['J. G. Trassler', 1], ['J. Hübner', 2], ['Linzer biologische Beiträge', 2], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 11], ['Public Library of Science, ONE', 2], ['William Smith', 2], ['ZooKeys', 6], ['Zoosystema', 199], ['Zootaxa', 155], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=390)', 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);