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 the Entomological Society of America', 1], ['Arthropod Systematics & amp; Phylogeny', 3], ['Baltic Journal of Coleopterology', 3], ['Biodiversity Data Journal', 4], ['Coleopterists bulletin', 2], ['Insecta Mundi', 18], ['Pacific insects monograph', 1], ['Species Diversity', 6], ['The Coleopterists Bulletin', 9], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 4], ['ZooKeys', 7], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=61)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);