function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Comptes Rendus Hebdomadaires des Séances de l\'Académie des Sciences', 1], ['Journal of Natural History', 10], ['Kansas University Geological Survey', 1], ['Memoirs of the Asiatic Society of Bengal', 1], ['Proceedings of the United States National Museum, 3', 3], ['Transactions and proceedings of the New Zealand Institute', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);