function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales de la Universidad de Chile, Memorias Cientificas y Literarias', 1], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin of the American Museum of Natural History', 8], ['Cybium', 3], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 3], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 2], ['Mitteilungen aus dem Zoologischen Museum in Berlin', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Zoological Society of London, B', 7], ['Revue d\'hydrobiologie tropicale', 1], ['University of Kentucky', 3], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);