function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 1], ['Discovery Reports', 1], ['European Journal of Taxonomy', 6], ['Giornale di Scienze, Lettere ed Arti per la Sicilia', 1], ['Smithsonian Miscellaneous Collections', 1], ['Special Bulletin of the United States National Museum', 1], ['Transactions of the Linnean Society of London, Second Series. Zoology', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);