function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 13], ['Alpine Entomology', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Beiträge Zur Entomologie = Contributions to Entomology', 171], ['Biodiversity Data Journal', 4], ['Bulletin B P Bishop Mus', 2], ['Entomo Helvetica', 7], ['Entomologist\'s monthly magazine', 1], ['Historia fisica y politica de Chile', 1], ['Insecta Mundi', 2], ['Transactions and proceedings of the New Zealand Institute', 16], ['Transactions of the Entomological Society of London', 3], ['ZooKeys', 30], ['Zoological Journal of the Linnean Society', 6], ['Zootaxa', 170], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=439)', 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);