function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 5], ['Acta Entomologica Musei Nationalis Pragae', 7], ['African Invertebrates', 4], ['Annales de la Société Entomologique de France, Séries 1 - 6', 2], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 11], ['Insecta Mundi', 8], ['Insects of Guam-I', 6], ['Japanese Journal of Systematic Entomology', 3], ['Systematic Entomology', 3], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 13], ['Transactions of the Entomological Society of London', 8], ['ZooKeys', 56], ['Zoodiversity', 31], ['Zoologia', 4], ['Zootaxa', 158], ['Other (7)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=329)', 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);