function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 20], ['Bulletin of the Florida State Museum, Biological Sciences', 1], ['Check List', 6], ['G. Levrault', 10], ['Histoire de l\'Académie Royale des Sciences, avec les Mémoires de Mathématique et de Physique', 1], ['J. Dixwell', 2], ['Laurentius Salvius', 27], ['Leigh, Sotheby & Son', 1], ['London', 2], ['Papéis Avulsos de Zoologia', 1], ['Revue suisse de Zoologie', 1], ['Transactions of the Linnean Society of London', 4], ['Utrecht', 4], ['Zoosystema', 12], ['Zootaxa', 6], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=101)', 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);