function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 7], ['Hornmilben (Oribatida) [Dahl, Tierwelt Deutschlands, Teil 76]', 7], ['International Journal of Acarology', 1], ['New Zealand journal of marine and freshwater research', 1], ['Species Diversity', 2], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 6], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=48)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);