function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales Zoologici', 2], ['Annales de la Societe Entomologique de Belgique', 5], ['Annales de la Societe Entomologique de Belgique, Comptes-rendus des Seances', 2], ['Annals of the Entomological Society of America', 2], ['Arthropod fauna of the UAE', 2], ['Berliner Entomologische Zeitschrift', 3], ['Biodiversity Data Journal', 17], ['British Museum', 9], ['Fauna Entomologica Scandinavica', 3], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 3], ['Myrmecologische Nachrichten', 3], ['Yezhegodnik Zoologicheskogo Muzeya Imperatorskoi Akademii Nauk', 3], ['ZooKeys', 5], ['Zoosystema', 5], ['Zootaxa', 49], ['Other (35)', 45] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=158)', 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);