function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales de la Universidad de Chile, Memorias Cientificas y Literarias', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the United States National Museum', 1], ['Copeia', 3], ['European Journal of Taxonomy', 10], ['International Journal of Research Studies in Zoology', 1], ['Journal of Natural History', 2], ['New Zealand Journal of Science and Technology', 1], ['Philippine Journal of Science, Section D', 2], ['Poeyana, A', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the American Philosophical Society', 1], ['Records of the Australian Museum', 2], ['Zootaxa', 61], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=100)', 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);