function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Biodiversity Data Journal', 2], ['European Journal of Taxonomy', 2], ['Journal of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Proceedings of the United States National Museum, 3', 1], ['Records of the Australian Museum Supplement', 3], ['Rev. Mus. Paulista', 1], ['Sanderiano Commissum', 1], ['Tokai University Press', 2], ['Transactions of the Literary and Philosophical Society of New York', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);