function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 3], ['Annales de la Société Entomologique de France, Nouvelle Série', 2], ['Bulletin de la Société Entomologique de France', 5], ['Caucasian Entomological Bulletin', 25], ['Entomologische Abhandlungen', 6], ['European Journal of Taxonomy', 4], ['Fauna of New Zealand', 3], ['Historical biology', 4], ['Insecta Mundi', 25], ['Mémoires du Muséum national d\'Histoire naturelle', 11], ['Records of the Australian Museum', 14], ['The Coleopterists Bulletin', 30], ['ZooKeys', 27], ['Zoosystema', 77], ['Zootaxa', 403], ['Other (20)', 28] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=667)', 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);