function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 6], ['Acta Entomologica Musei Nationalis Pragae', 4], ['African Invertebrates', 4], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Bulletin B P Bishop Mus', 1], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 1], ['Bulletin of the Bernice P. Bishop Museum', 2], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 11], ['Insects of Guam-I', 4], ['L\'Échange, Revue Linnéenne', 3], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 13], ['Transactions of the Entomological Society of London', 8], ['ZooKeys', 12], ['Zoodiversity', 17], ['Zootaxa', 62], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=151)', 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);