function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 8], ['Berliner Entomologische Zeitschrift', 2], ['British Museum', 30], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 1], ['Deutsche Entomologische Zeitschrift', 3], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 2], ['Transactions of the Entomological Society of London', 2], ['Transactions of the Entomological Society of London (2)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=60)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);