function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annali del Museo Civico di Storia Naturale di Genova', 2], ['Biodiversity Data Journal', 32], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 6], ['Calodema', 1], ['Check List', 2], ['Dictionnaire des Sciences Naturelles', 1], ['Far Eastern Entomologist', 1], ['Insecta Mundi', 5], ['Journal of Natural History', 3], ['Raffles Bulletin of Zoology', 26], ['Revue suisse de Zoologie', 5], ['Subterranean Biology', 9], ['ZooKeys', 31], ['Zoosystema', 9], ['Zootaxa', 79], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=214)', 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);