function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. F. Rose', 1], ['European Journal of Taxonomy', 1], ['F. G. Levrault', 1], ['Kongelige Danske Videnskabernes Selskab Skrifter (Nya Samlinger)', 1], ['Laurentius Salvius', 5], ['Nodder & Company', 1], ['Panckoucke', 1], ['Proceedings of the Boston Society of Natural History', 1], ['Proceedings of the Zoological Society of London, B', 2], ['Trans. N. Z. Inst.', 1], ['Transactions of the Literary and Philosophical Society of New York', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', 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);