function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History', 3], ['Boletim do Museu Municipal do Funchal', 1], ['Bulletin of Marine Science', 1], ['Bulletin of the Misaki Marine Biological Institute Kyoto University', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 3], ['Bulletin of the United States National Museum', 3], ['Journal Sigenkagaku Kenkyusyo', 2], ['Memoirs of the National Museum of Victoria', 1], ['Occasional Papers of the California Academy of Sciences', 1], ['Proceedings of the Biological Society of Washington', 2], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Proceedings of the Royal Irish Academy, Section B., Biological, Geological, and Chemical Science', 1], ['Proceedings of the United States National Museum, 3', 6], ['Rec. Albany Mus. Grahamstown', 1], ['Report of the United States Commissioner of Fish and Fisheries', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);