function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Asian Myrmecology', 1], ['Biodiversity Data Journal', 1], ['Histoire Physique, Naturelle et Politique de Madagascar.', 2], ['Histoire physique, naturelle et politique de Madagascar. 20.', 1], ['Revue de Zoologie Africaine', 3], ['Search: Agriculture; Cornell University Agricultural Experiment Station', 2], ['ZooKeys', 2], ['Zootaxa', 45] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=57)', 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);