function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Entomological Society of America', 3], ['Contributions of the American Entomological Institute', 16], ['Deutsche Entomologische Zeitschrift', 1], ['Fossil Record', 4], ['Invertebrate systematics', 4], ['Linzer biologische Beiträge', 8], ['Systematic entomology', 15], ['Zoological Systematics', 2], ['Zoosystematics and Evolution', 2], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=78)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);