function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Biodiversity Data Journal', 5], ['Bulletin of the American Museum of Natural History', 1], ['Entomologist\'s monthly magazine', 20], ['Félix Galletti', 1], ['Linzer biologische Beiträge', 1], ['The zoology of the voyage of H. M. S. Erebus & Terror, under the command of Captain Sir James Clark Ross, R. N., F. R. S., durin', 3], ['Transactions and proceedings of the New Zealand Institute', 2], ['ZooKeys', 8], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=48)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);