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 ', 3], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Contributions in Science of the Natural History Museum of Los Angeles County', 5], ['Copeia', 1], ['Dana Reports', 4], ['European Journal of Taxonomy', 2], ['Neotropical Ichthyology', 5], ['Proceedings of the Royal Irish Academy, Section B., Biological, Geological, and Chemical Science', 1], ['Zoologica', 1], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);