function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin of Marine Science', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Check List', 1], ['Cybium', 1], ['Field Columbian Museum Zoological Series', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Monogr. Bur. Sci. Manila', 4], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the Zoological Society of London, B', 2], ['Records of the Indian Museum', 1], ['Zootaxa', 8], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', 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);