function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ann. Mag Natur. Hist.', 1], ['Annales de la Societe Entomologique de Belgique', 1], ['Annales de la Société Entomologique de France', 3], ['Bulletin of the American Museum of Natural History', 2], ['Deutsche Entomologische Zeitschrift', 2], ['Entomologische Mitteilungen', 1], ['Insects of Guam I', 1], ['Memoires de l\'Institut Francais d\'Afrique Noire', 1], ['Mitteilungen der Schweizerischen Entomologischen Gesellschaft', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);