function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['J. P. Kraus', 1], ['Johan. Christi. Trappii', 5], ['Journal of the Academy of Natural Sciences of Philadelphia', 5], ['K. K. Hof-naturalien-cabinet', 1], ['Laurentius Salvius', 37], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 1], ['The American Journal of Science and Arts, Series 2', 2], ['Transactions of the geological society of London, 2', 5], ['U. S. Geological Survey, Professional Paper', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=60)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);