function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales de la Sociedad EspaƱola de Historia Natural', 1], ['Biodiversity Data Journal', 4], ['Bulletin of the United States National Museum', 2], ['European Journal of Taxonomy', 5], ['Fishery Bulletin', 1], ['Journal of the Ocean Science Foundation', 1], ['Memoirs of the Queensland Museum', 1], ['Pacific Science', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 2], ['Proceedings of the United States National Museum, 3', 3], ['Smithsonian Contributions to Zoology', 4], ['Smithsonian Miscellaneous Collections', 1], ['Zoological Studies', 5], ['Zootaxa', 25], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=62)', 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);