function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Koenig', 1], ['Check List', 26], ['Déterville', 1], ['G. Levrault', 2], ['Ibis', 1], ['Lynx Edicions', 4], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 2], ['Papéis Avulsos de Zoologia', 24], ['Proceedings of the United States National Museum', 1], ['Revista Brasileira de Ornitologia', 1], ['Sumptibus C. Salfeld', 1], ['The Philosophical Magazine', 2], ['The Zoological Journal', 4], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);