function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 16], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 4], ['Arthropod Systematics & amp; Phylogeny', 5], ['Australian Journal of Entomology', 5], ['Biodiversity Data Journal', 10], ['Bulletin of the American Museum of Natural History', 4], ['F. W. Forstmann', 28], ['Fain et Compagnie', 5], ['Insecta Mundi', 69], ['Laurentius Salvius', 13], ['Munis Entomology & Zoology', 34], ['Program der Königlichen Realschule zu Meseritz', 5], ['Stettiner Entomologische Zeitung', 5], ['ZooKeys', 33], ['Zootaxa', 666], ['Other (21)', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=934)', 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);