function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 7], ['African invertebrates', 4], ['American Museum Novitates', 22], ['Annals of Natural History; or, Magazine of Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany and Zoo', 1], ['European Journal of Taxonomy', 19], ['ZooKeys', 16], ['Zoosystematics and Evolution', 4], ['Zootaxa', 91] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=164)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);