function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 8], ['Annales du Museum National d\'Historie Naturelle, Paris', 2], ['Biodiversity Data Journal', 21], ['Candollea', 10], ['Laurentius Salvius', 14], ['Linzer biologische Beiträge', 14], ['Nova Guinea, ser. 2', 6], ['Order out of Chaos. Linnaean Plant Types and their Types', 51], ['PhytoKeys', 27], ['Phytotaxa', 109], ['Plant Ecology and Evolution', 18], ['Proceedings of the California Academy of Sciences', 36], ['Revue suisse de Zoologie', 3], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 10], ['Other (17)', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=355)', 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);