function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 12], ['Biodiversity Data Journal', 4], ['Birkhaeuser Verlag', 8], ['Bulletin of the American Museum of Natural History', 6], ['Candollea', 3], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 5], ['Flora Helvetica', 6], ['Info Flora Schweiz', 6], ['Insecta Mundi', 9], ['Journal of the Arnold Arboretum', 6], ['Laurentius Salvius', 22], ['Order out of Chaos. Linnaean Plant Types and their Types', 37], ['PhytoKeys', 4], ['Phytotaxa', 9], ['Zootaxa', 75], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=223)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);