function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibia-Reptilia', 2], ['Bonner zoologische Beiträge', 1], ['Bulletin of the American Museum of Natural History', 2], ['Geodiversitas', 1], ['Journal of Natural History', 6], ['Krieger', 3], ['Mémoires du Muséum national d\'Histoire naturelle', 1], ['Smith, Elder, and Co.', 1], ['Zoosystema', 4], ['Zoosystematics and Evolution', 2], ['Zootaxa', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);