function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 1], ['Annals of the Entomological Society of America', 4], ['Berliner Entomologische Zeitschrift', 2], ['Biodiversity Data Journal', 1], ['Calodema Supplementary Paper', 1], ['Caucasian Entomological Bulletin', 1], ['Entomologische Mitteilungen', 1], ['Insect Systematics and Diversity', 24], ['Journal of the Royal Society of Western Australia', 2], ['ZooKeys', 2], ['Zoologische Jahrbu ̈ cher', 1], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=50)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);