function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 222], ['Birkhaeuser Verlag', 10], ['Check List', 29], ['Gottl. August. Lange', 4], ['Laurentii Salvii', 5], ['Laurentius Salvius', 66], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 4], ['Papéis Avulsos de Zoologia', 25], ['Phytotaxa', 4], ['Records of the Australian Museum', 4], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 65], ['Zoosystematics and Evolution', 6], ['Zootaxa', 63], ['Other (29)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=559)', 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);