function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 79], ['Amurian Zoological Journal', 4], ['Ballière', 2], ['Biodiversity Data Journal', 7], ['European Journal of Taxonomy', 9], ['Insect Systematics and Diversity', 3], ['Insecta Mundi', 11], ['Journal of Natural History', 68], ['Laurentius Salvius', 9], ['Linzer biologische Beiträge', 7], ['Records of the Zoological Survey of India', 3], ['The Entomological Magazine', 8], ['ZooKeys', 17], ['Zoological Systematics', 48], ['Zootaxa', 284], ['Other (22)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=588)', 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);