function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 8], ['Biodiversity journal', 1], ['Caucasian Entomological Bulletin', 1], ['European Journal of Taxonomy', 14], ['Far Eastern Entomologist', 2], ['Insecta Mundi', 95], ['Journal of Natural History', 50], ['Mémoires du Muséum national d\'Histoire naturelle', 4], ['Revue Suisse de Zoologie', 2], ['The Coleopterists Bulletin', 17], ['ZooKeys', 42], ['Zookeys', 51], ['Zoological Systematics', 2], ['Zoosystema', 12], ['Zootaxa', 45], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=347)', 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);