function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 7], ['Annotationes Zoologicae Japonenses', 19], ['Biodiversity Data Journal', 7], ['Bollettino dei Musei di Zoologia ed Anatomia Comparata della R. Università di Torino', 3], ['Bulletin of the American Museum of Natural History', 7], ['Bulletin of the British Museum (Natural History). Entomology', 3], ['European Journal of Taxonomy', 89], ['Insecta Mundi', 3], ['Journal of Natural History', 3], ['Laurentius Salvius', 4], ['ZooKeys', 36], ['Zoological Journal of the Linnean Society', 9], ['Zoosystema', 4], ['Zoosystematics and Evolution', 3], ['Zootaxa', 148], ['Other (6)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=353)', 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);