function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Strahan, and T. Cadell | W. Creech', 1], ['C. Sepp', 1], ['Gabriel Nicolaus Raspe', 3], ['Gebauer', 1], ['Laurentius Salvius', 38], ['Leigh, Sotheby & Son', 1], ['Nodder & Company', 1], ['Nova acta physico-medica Academiae Caesareae Leopoldino-Carolinae Naturae Curiosum', 1], ['S. Salvatori', 1], ['Utrecht', 3], ['Zoosystema', 27], ['Zoosystematics and Evolution', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=79)', 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);