function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen des Zoologisch-Mineralogischen Vereines in Regensburg', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Bolletino della Societa geologica italiana', 2], ['Bulletin de la Société des sciences de Nancy, 3', 1], ['Geological Magazine', 3], ['Journal of the Academy of Natural Sciences of Philadelphia', 1], ['Kansas University Geological Survey', 1], ['Meddelelser fra Dansk geologisk forening = Bulletin of the Geological Society of Denmark', 1], ['Naturhistorisk Tidsskrift', 6], ['Palaeontographica', 1], ['Paleontographical Society', 7], ['Proceedings of the Geologists\' Association', 1], ['Quarterly Journal of the Geological Society, London', 2], ['Transactions of the geological society of London, 2', 4], ['Zootaxa', 11], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);