function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 8], ['Annales de la Société Entomologique de France, Nouvelle Série', 1], ['Coleopterists bulletin', 4], ['Entomologist\'s monthly magazine', 15], ['European Journal of Taxonomy', 35], ['Insecta Mundi', 9], ['Journal of Natural History', 3], ['Koleopterologische rundschau', 24], ['Mélanges exotico-entomologiques. Moulins', 10], ['Special bulletin of the Essa Entomological Society', 3], ['Special bulletin of the Japanese Society of Coleopterology', 2], ['The Coleopterists Bulletin', 5], ['ZooKeys', 10], ['Zoologia', 2], ['Zootaxa', 37], ['Other (9)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=177)', 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);