function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 6], ['Acta Musei Moraviae, Scientiae biologicae', 10], ['Biodiversity, Biogeography and Nature Conservation in WALLACEA and NEW GUINEA', 7], ['Fauna of New Zealand', 10], ['J. Insect Biodiversity', 21], ['Journal Of The Kansas Entomological Society', 3], ['Journal of Tropical Coleopterology', 2], ['Linzer biologische Beiträge', 19], ['Mitteilungen Der Schweizerischen Entomologischen Gesellschaft', 4], ['Revue suisse de Zoologie', 48], ['Vernate', 1], ['ZooKeys', 4], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=147)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);