function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the United States National Museum', 1], ['Copeia', 6], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 2], ['Indo-Pacific Fishes', 4], ['Japanese Journal of Ichthyology', 1], ['Proceedings of the Biological Society of Washington', 3], ['Proceedings of the California Academy of Sciences, Series 4', 2], ['Proceedings of the United States National Museum, 3', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 3], ['Quarterly Journal of the Taiwan Museum', 2], ['Raffles Bulletin of Zoology', 7], ['Records of the Australian Museum', 7], ['Zootaxa', 54], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=105)', 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);