function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States Bureau of Fisheries', 1], ['Bulletin of the United States Fish Commission', 1], ['Carnegie Institution of Washington Publication', 1], ['Copeia', 1], ['Ind. Univ. Studies', 1], ['Miscellaneous Publications of the Museum of Zoology University of Michigan', 1], ['Proceedings of the United States National Museum, 3', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=10)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);