function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 2], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 2], ['Anzeiger', 3], ['Archiv für Naturgeschichte', 10], ['Bulletin of the United States Fish Commission', 3], ['F. G. Levrault', 22], ['Laurentii Salvii', 2], ['Mölleri apud Heineck et Faber', 10], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Nodder & Company', 2], ['Philippine Journal of Science, Section D', 2], ['Privately published', 3], ['Proceedings of the Zoological Society of London, B', 4], ['Sanderiano Commissum', 3], ['Voorst', 4], ['Other (34)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=113)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);