function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian zoologist', 1], ['Cahiers O. R. S. T. O. M. [Office de la Recherche Scientifique et Technique Outre-Mer] Série Océanographie', 1], ['Notes from the Leyden Museum', 1], ['Revue française d\'Aquariologie Herpétologie', 1], ['Senckenbergiana Biologica', 1], ['Zootaxa', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);