function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Dictionnaire des Sciences Naturelles', 1], ['Johan Christi. Trappii', 1], ['Johan. Christi. Trappii', 3], ['Journal of the Academy of Natural Sciences of Philadelphia', 5], ['K. K. Hof-naturalien-cabinet', 1], ['Kansas University Geological Survey', 6], ['Laurentius Salvius', 9], ['Quarterly Journal of the Geological Society, London', 8], ['Skinner and Co.', 1], ['Transactions and Proceedings of the Palaeotological Society of Japan, New Series', 1], ['Transactions of the geological society of London, 2', 3], ['ZooKeys', 2], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);