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', 9], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Memoirs of the Asiatic Society of Bengal', 1], ['Proceedings of the United States National Museum', 1], ['Zoological Journal of the Linnean Society', 3] ]); 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);