function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 17], ['Biodiversity Data Journal', 1], ['Candollea', 1], ['Info Flora Schweiz', 1], ['Insecta Mundi', 17], ['Laurentius Salvius', 5], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 17], ['Papéis Avulsos de Zoologia', 1], ['PhytoKeys', 29], ['Phytotaxa', 52], ['The Coleopterists Bulletin', 1], ['The Zoological Journal', 1], ['Zoosystema', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=146)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);