function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 40], ['Bulletin of the American Museum of Natural History', 45], ['Check List', 5], ['Déterville', 1], ['Journal de Physique, de Chimie, d\'Histoire Naturelle et des Arts', 2], ['Papéis Avulsos de Zoologia', 2], ['Revue suisse de Zoologie', 1], ['The Philosophical Magazine', 2], ['The Zoological Journal', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=111)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);