function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 1], ['Bulletin of the National Science Museum, Series A, Zoology', 1], ['Journal of helminthology', 1], ['Journal of the Helminthological Society of Washington', 1], ['Rivista di Parassitologia', 1], ['SatyĆ» Yamaguti', 1], ['Science Press', 1], ['Science Publications', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=8)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);