function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 4], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Biodiversity Data Journal', 28], ['Bulletin of the American Museum of Natural History', 18], ['Contributions to Zoology', 3], ['Hallageriis', 6], ['Journal of Natural History', 11], ['Laurentius Salvius', 3], ['Marine Biology Research', 4], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 12], ['Species Diversity', 9], ['Transactions of the Linnean Society of London, Second Series. Zoology', 5], ['ZooKeys', 22], ['Zoological Journal of the Linnean Society', 7], ['Zootaxa', 133], ['Other (20)', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=293)', 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);