function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['European Journal of Taxonomy', 10], ['F. S. Hübschmann, Monachii [= Munich] & Fleischer, Lipsiae [= Leipzig]', 1], ['Johan. Christi. Trappii', 1], ['Madras Journal of Literature and Science', 1], ['Memoirs of the Carnegie Museum', 1], ['PaleoBios', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Revue des Travaux de l\'Institut des Peches Maritimes', 1], ['Species Diversity', 2], ['Wolfgang Gerle', 1], ['Zootaxa', 16] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);