function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Deterville', 1], ['Geodiversitas', 2], ['Kansas University Geological Survey', 1], ['Mémoires de la Société d’Histoire Naturelle de Paris', 1], ['Neues Jahrbuch für Geologie und Paläontologie - Abhandlungen', 1], ['Paleontological Journal', 1], ['Paläontologische Zeitschrift', 3], ['Stratigraphy and Geological Correlation', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);