function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 1], ['F. G. Levrault', 1], ['G. Levrault', 5], ['Gabriel Nicolaus Raspe', 2], ['Gebauer', 1], ['Laurentii Salvii', 1], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 5], ['PLoS ONE', 1], ['Transactions of the Linnean Society of London', 2], ['Utrecht', 1], ['Zoosystema', 4], ['Zoosystematics and Evolution', 2], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=32)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);