function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Archiv für die Naturwissenschaftliche Landesdurchforschung von Böhmen', 1], ['Biodiversity Data Journal', 4], ['Boletín de Minas y Petróleos', 2], ['Geological Magazine', 1], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 7], ['Sitzungsberichte der Gesellschaft für naturforschende Freunde zu Berlin', 2], ['Sitzungsberichte der Königlich Bayerische Akademie der Wissenschaften zu Münche', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);