function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Koenig', 1], ['Acta Zoológica Lilloana', 30], ['Boletín del Museo Nacional de Historia Natural, Chile', 1], ['Bulletin of the British Ornithologists’ Club', 2], ['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], ['The Philosophical Magazine', 2], ['The Zoological Journal', 4], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 39], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=147)', 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);