function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 14], ['American Museum Novitates', 19], ['Annale van die Suid-Afrikaanse Museum [Annals of the South African Museum]', 3], ['BMC Zooloy', 3], ['Biodiversity Data Journal', 4], ['Ecologica Montenegrina', 25], ['Journal of Natural History', 4], ['Laurentius Salvius', 9], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Records of the Indian Museum', 3], ['Species Diversity', 11], ['Taylor & Francis', 3], ['ZooKeys', 23], ['Zoosystematics and Evolution', 5], ['Zootaxa', 57], ['Other (43)', 56] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=244)', 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);