function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 1], ['Check List', 4], ['Deutsche Entomologische Zeitschrift', 1], ['Reise der österreichischen Fregatte Novara um die Erde ..', 1], ['Revista de Entomologia', 6], ['Sitzungsberichte der Koenigliche Akademie der Wissenschaften, Mathematisch-Naturwissenschaftliche Classe', 2], ['ZooKeys', 11], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);