function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Deutsche Entomologische Zeitschrift', 8], ['Journal of the New York Entomological Society', 5], ['Memoirs of the American Entomological Institute', 1], ['Search: Agriculture; Cornell University Agricultural Experiment Station', 4], ['Transactions of the Royal Entomological Society of London', 11], ['Zoological Systematics', 5], ['Zootaxa', 31] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);