function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Systematic Botany', 2], ['Biodiversity Data Journal', 1], ['Candollea', 11], ['Check List', 1], ['Hooker\'s Journal of Botany and Kew Garden Miscellany', 1], ['Iheringia, Série Botânica', 4], ['Laurentius Salvius', 39], ['Order out of Chaos. Linnaean Plant Types and their Types', 8], ['Papéis Avulsos de Zoologia', 1], ['PhytoKeys', 2], ['Phytotaxa', 86] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=156)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);