function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 2], ['Acarological Studies', 6], ['Bulletin Univ Nebr State Mus', 1], ['Bulletin de la Société des Études Scientifiques d\'Angers', 1], ['C R Acad Sci', 1], ['Journal of Natural History', 3], ['Zoological Systematics', 4], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', 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);