function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 942], ['Acarological Studies', 23], ['Annals of the Entomological Society of America', 4], ['Florida entomologist', 5], ['Journal of Natural History', 45], ['Papéis Avulsos de Zoologia', 11], ['Persian Journal of Acarology', 34], ['Records of the Zoological Survey of India', 7], ['Soil Organisms', 14], ['Species Diversity', 5], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 3], ['Vestnik Zoologii', 4], ['ZooKeys', 29], ['Zoodiversity', 25], ['Zootaxa', 1783], ['Other (16)', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2955)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);