function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['African Invertebrates', 1], ['Arthropod Systematics & amp; Phylogeny', 9], ['Biota Neotropica', 5], ['British Museum', 19], ['European Journal of Taxonomy', 11], ['Insecta Mundi', 15], ['Insects of Guam II', 2], ['Journal of Natural History', 20], ['Memoirs of the Queensland Museum', 13], ['Subterranean Biology', 2], ['Transactions of the Entomological Society of London', 4], ['ZooKeys', 51], ['Zoological Systematics', 15], ['Zootaxa', 434], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=607)', 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);