function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals of Philosophy, New Series', 1], ['Archives du Muséum d\'Histoire Naturelle de Lyon', 1], ['Arkiv för Zoologi', 1], ['Biodiversity Data Journal', 2], ['Biology of the Sea', 1], ['Bolletino della Societa geologica italiana', 2], ['Bulletin of the United States National Museum', 11], ['Journal of the Marine Biological Association of the United Kingdom', 3], ['PLoS ONE', 7], ['Ray Society', 8], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 2], ['Zoosystematics and Evolution', 5], ['Zootaxa', 14], ['Other (20)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=88)', 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);