function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Annales de la Societe Entomologique de Belgique', 16], ['Biodiversity Data Journal', 77], ['European Journal of Taxonomy', 14], ['Histoire physique, naturelle et politique de Madagascar. 20.', 2], ['Journal of Natural History', 24], ['Linzer biologische Beiträge', 17], ['Revue Suisse de Zoologie', 2], ['Russian Entomological Journal', 6], ['Subterranean Biology', 20], ['ZooKeys', 81], ['Zoological Journal of the Linnean Society', 4], ['Zoological Systematics', 17], ['Zoosystema', 350], ['Zootaxa', 582], ['Other (5)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1223)', 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);