function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Frič', 2], ['Abhandlungen der Kaiserlich-Königlichen Geologischen Reichsanstalt, Wien', 1], ['American Museum Novitates', 7], ['Annales de la Société Geologique du Nord', 2], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 4], ['Bulletin of the United States Geological Survey', 1], ['Geological Magazine', 2], ['Monographs of the Palaeontographical Society', 1], ['Proceedings of the American Academy of Arts and Sciences', 2], ['Sitzungsberichte der Königlich Böhmischen Gesellschaft der Wissenschaften, Mathematisch-Naturwissenschaftliche Klasse', 3], ['Zeitschrift der Deutschen Geologischen Gesellschaft', 1], ['Zoological Journal of the Linnean Society', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', 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);