function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adumbratiunculae', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Biodiversity Data Journal', 28], ['Bulletin of the American Museum of Natural History', 87], ['Check List', 3], ['G. Levrault', 2], ['Gabriel Nicolaus Raspe', 1], ['J. G. Müller', 1], ['Laurentius Salvius', 65], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 3], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 3], ['Zoosystema', 3], ['Zoosystematics and Evolution', 6], ['Zootaxa', 24], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=237)', 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);