function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 1], ['Folha Medica Rio de Janeiro', 1], ['Japanese Journal of Zoology', 1], ['Nova Acta Physico-Medica. Academiae Caesareae Leopoldino Carolinae Naturae Curiosorum', 1], ['Philippine Journal of Science, Section D', 1], ['Zoologica scripta', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=9)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);