function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Allan Hancock Pacific Expeditions', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Bulletin des Sciences Naturelles et de Géologie', 1], ['Centralblatt für Bakteriologie, Parasitenkunde, Infektionskrankheiten und Hygiene', 1], ['Parasitology', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Revue suisse de Zoologie', 1], ['Rivista di Parassitologia', 1], ['Scientific Survey of Porto Rico and the Virgin Islands', 1], ['Zoopathologica', 1], ['Zootaxa', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', 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);