function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Auk', 1], ['Check List', 20], ['Lynx Edicions', 1], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 1], ['Papéis Avulsos de Zoologia', 5], ['R. and J. E. Taylor', 1], ['Revista Brasileira de Ornitologia', 1], ['The Zoological Journal', 4], ['Treuttel', 2], ['Vertebrate Zoology', 2], ['Zoological Journal of the Linnean Society', 13], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', 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);