function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Austral Entomology', 8], ['Biodiversity Data Journal', 109], ['C. G. Proft, Fil. et Soc.', 14], ['Canadian Entomologist', 8], ['Carolum Reichard', 10], ['European Journal of Taxonomy', 12], ['Far Eastern Entomologist', 29], ['Insecta Mundi', 187], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 17], ['Laurentius Salvius', 26], ['Linzer biologische Beiträge', 200], ['Papéis Avulsos de Zoologia', 27], ['ZooKeys', 17], ['Zoological Journal of the Linnean Society', 14], ['Zootaxa', 969], ['Other (27)', 79] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1726)', 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);