function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen der Senckenbergischen Naturforschenden Gesellschaft', 1], ['American Museum Novitates', 1], ['Annual Report of the Peabody Academy of Science', 1], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 5], ['Linzer biologische Beiträge', 3], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1], ['Subterranean Biology', 3], ['ZooKeys', 22], ['Zoosystema', 22], ['Zootaxa', 135] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=201)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);