function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Baltic Journal of Coleopterology', 3], ['Biodiversity Data Journal', 9], ['Caucasian Entomological Bulletin', 5], ['Ecologica Montenegrina', 4], ['Far Eastern Entomologist', 4], ['Insecta Mundi', 15], ['Insects of Guam I', 6], ['Journal of Natural History', 10], ['Papéis Avulsos de Zoologia', 3], ['The Coleopterists Bulletin', 18], ['The Orthopterists Society at the Academy of Natural Sciences of Philadelphia,', 7], ['Transactions of the Entomological Society of London', 4], ['ZooKeys', 5], ['Zoosystema', 6], ['Zootaxa', 201], ['Other (17)', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=321)', 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);