function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 26], ['Arthropod Systematics & amp; Phylogeny', 13], ['Biodiversity Data Journal', 48], ['Caucasian Entomological Bulletin', 19], ['Deutsche Entomologische Zeitschrift', 54], ['European Journal of Taxonomy', 20], ['Insecta Mundi', 204], ['Journal and Proceedings of the Linnean Society of London, Zoology', 35], ['Journal of Natural History', 16], ['Laurentius Salvius', 17], ['Palaeoentomology', 15], ['ZooKeys', 169], ['Zoological Systematics', 85], ['Zoosystema', 30], ['Zootaxa', 1439], ['Other (55)', 193] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2383)', 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);