function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Allan Hancock Pacific Expeditions', 2], ['Angewandte Parasitologie', 1], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 1], ['Revista del Instituto Nacional de Investigación de las Ciencias Naturales y Museo Argentio de Ciencias Naturales " Bernardino Ri', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=5)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);