function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Catalogue of the Birds in the British Museum', 1], ['European Journal of Taxonomy', 13], ['G. Levrault', 1], ['Isis von Oken', 1], ['Ostrich - Journal of African Ornithology', 1], ['Raffles Bulletin of Zoology', 18], ['Revue suisse de Zoologie', 1], ['Zoosystema', 6], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);