function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 2], ['Folia Parasitologica', 1], ['Journal of Parasitology', 2], ['Parasitology Research', 1], ['Results of the Swedish Zoological Expedition to Egypt and the White Nile 1901 under the Direction of L. A. Jägerskiöld', 1], ['Revista Mexicana de Biodiversidad', 1], ['Species Diversity', 4], ['Systematic Parasitology', 3], ['ZooKeys', 14], ['Zoosystema', 18], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=58)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);