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], ['Benjamin White and Son', 1], ['Biodiversity Data Journal', 1], ['Biodiversity and Natural History', 1], ['Bulletin of the American Museum of Natural History', 3], ['Hallageriis', 6], ['Journal of Natural History', 3], ['P. van Cleef', 1], ['Philosophical Transactions of the Royal Society of London', 2], ['Proceedings of the Biological Society of Washington', 1], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 5], ['The Biological Bulletin', 1], ['Transactions of the Linnean Society of London, Second Series. Zoology', 2], ['ZooKeys', 6], ['Zootaxa', 31], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);