function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 45], ['Annales Zoologici', 18], ['Biodiversity Data Journal', 42], ['Bulletin of the American Museum of Natural History', 11], ['Check List', 17], ['Fragmenta Faunistica', 42], ['Insect Systematics and Diversity', 31], ['Journal of Natural History', 164], ['Linzer biologische Beiträge', 9], ['Mitteilungen der Schweizerischen Entomologischen Gesellschaft', 6], ['Raffles Bulletin of Zoology', 5], ['ZooKeys', 14], ['Zoological Journal of the Linnean Society', 63], ['Zoological Systematics', 6], ['Zootaxa', 1332], ['Other (29)', 47] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1852)', 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);