function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amazoniana', 1], ['Annalen des Naturhistorischen Museums in Wien', 2], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Annals of the Natal Museum', 1], ['Arkiv för Zoologi', 1], ['Arthropoda', 1], ['Biodiversity Data Journal', 1], ['Bulletin of the Association for Mexican Cave Studies', 5], ['Canadian Entomologist', 1], ['Ciencia, Mexico City', 1], ['Journal of Arachnology', 11], ['Notes Biospéologiques', 2], ['Proceedings of the California Academy of Sciences, Series 4', 2], ['Revue suisse de zoologie', 14], ['Zootaxa', 8], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=58)', 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);