function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 2], ['Biodiversity Data Journal', 10], ['Candollea', 3], ['Iheringia, Série Botânica', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['Papéis Avulsos de Zoologia', 3], ['Phytologia', 2], ['Phytotaxa', 6], ['The London Journal of Botany; Containing Figures and Descriptions of Such Plants as Recommend Themselves by Their Novelty, Rarit', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=32)', 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);