function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['BMC Evolutionary Biology', 2], ['Biodiversity Data Journal', 33], ['Deutsche Entomologische Zeitschrift', 1], ['European Journal of Taxonomy', 2], ['Far Eastern Entomologist', 2], ['Fragmenta Faunistica', 1], ['Insecta Mundi', 1], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 35], ['Memoirs of Museum Victoria', 23], ['PeerJ', 14], ['ZooKeys', 23], ['Zootaxa', 95] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=235)', 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);