function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 6], ['Berliner Entomologische Zeitschrift', 1], ['British Museum', 31], ['Deutsche Entomologische Zeitschrift', 2], ['Journal of Entomology', 4], ['Madras Journal of Literature and Science', 1], ['Revue Suisse de Zoologie', 1], ['Sitzungsberichte der Koenigliche Akademie der Wissenschaften, Mathematisch-Naturwissenschaftliche Classe', 2], ['Transactions of the Entomological Society of London', 1], ['Verhandlungen der Zoologisch-Botanischen Gesellschaft in Wien', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=59)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);