function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 10], ['Can J Zool', 1], ['Ecologica Montenegrina', 1], ['Journal of Natural History', 1], ['Journal of the Faculty of Science Hokkaido University, Series VI Zoology', 1], ['Persian Journal of Acarology', 24], ['Redia', 2], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 14], ['Zootaxa', 263] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=317)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);