function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 28], ['Biodiversity Data Journal', 22], ['Birkhaeuser Verlag', 6], ['Boissiera', 34], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 10], ['Fossil Imprint', 6], ['Info Flora Schweiz', 5], ['Insecta Mundi', 8], ['Journal of the Arnold Arboretum', 8], ['Laurentius Salvius', 21], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 6], ['Order out of Chaos. Linnaean Plant Types and their Types', 37], ['PhytoKeys', 20], ['Phytotaxa', 15], ['Zootaxa', 9], ['Other (11)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=255)', 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);