function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 3], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 2], ['Australian zoologist', 2], ['Biodiversity Data Journal', 3], ['Bulletin of the United States Fish Commission', 4], ['European Journal of Taxonomy', 14], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 11], ['Indo-Pacific Fishes', 4], ['Journal of Natural History', 3], ['Laurentius Salvius', 3], ['Proceedings of the California Academy of Sciences, Series 4', 4], ['Proceedings of the United States National Museum, 3', 10], ['Special Bulletin of the United States National Museum', 3], ['Species Diversity', 11], ['Zootaxa', 102], ['Other (36)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=221)', 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);