function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benham and Leeve', 5], ['C. E. Bohn', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['Journal of Natural History', 2], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 1], ['Raffles Bulletin of Zoology', 19], ['ZooKeys', 12], ['Zootaxa', 99], ['de l\'Autuer', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=141)', 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);