function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Natal Museum', 1], ['Biodiversity Data Journal', 2], ['Bishop Museum Occasional Papers', 2], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Bulletin of the United States Fish Commission', 1], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien', 1], ['Discovery Reports', 1], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Journal of the Ocean Science Foundation', 1], ['Lingnan Science Journal', 1], ['Proceedings of the United States National Museum, 3', 2], ['Raffles Bulletin of Zoology', 2], ['Species Diversity', 3], ['Zoological Studies', 2], ['Zootaxa', 41], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=68)', 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);