function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 1], ['Centralblatt für Bakteriologie, Parasitenkunde und Infektionskrankheiten', 1], ['Cuadernos del Instituto de Investigaciones Cientificas Universidad Autonoma de Nuevo Leon', 1], ['Revue suisse de Zoologie', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=5)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);