function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia: Recueil d\'Observations Botaniques', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section B, Botanique, Biologie et Écologie Végétales, Phytochimie', 3], ['Kew Bulletin', 6], ['Nordic Journal of Botany', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=12)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);