function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adumbratiunculae', 1], ['Biodiversity Data Journal', 4], ['Bulletin of the American Museum of Natural History', 13], ['Gabriel Nicolaus Raspe', 1], ['J. G. Müller', 1], ['Laurentius Salvius', 32], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 2], ['Transactions of the Linnean Society of London', 1], ['Zoosystematics and Evolution', 2], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=63)', 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);