function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 19], ['African Invertebrates', 1], ['African invertebrates', 2], ['Aquatic insects', 3], ['Biodiversity Data Journal', 7], ['Cretaceous Research', 2], ['Far Eastern Entomologist', 3], ['Fauna of New Zealand', 27], ['Fragmenta Faunistica', 27], ['Insecta Mundi', 10], ['Journal of Natural History', 4], ['Raffles Bulletin of Zoology', 9], ['The Coleopterists Bulletin', 2], ['ZooKeys', 26], ['Zootaxa', 1363], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1510)', 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);