function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['African Invertebrates', 11], ['African invertebrates', 4], ['Annales Zoologici', 18], ['Biodiversity Data Journal', 35], ['Check List', 4], ['Entomo Helvetica', 2], ['Fragmenta Faunistica', 25], ['Insect Systematics and Diversity', 30], ['Journal of Natural History', 92], ['Linzer biologische Beiträge', 6], ['Mitteilungen der Schweizerischen Entomologischen Gesellschaft', 6], ['Proceedings of the Entomological Society of Washington', 4], ['ZooKeys', 5], ['Zootaxa', 181], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=428)', 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);