function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 30], ['Biodiversity Data Journal', 3], ['CISRO Publishing', 1], ['Edited by F. G. Levrault. Tome 60. Paris, Le Normat.', 1], ['Journal of Natural History', 5], ['Memoirs of the Queensland Museu Nature', 128], ['Natural and Applied Science Bulletin', 1], ['Pacific Science', 2], ['Proceedings of the Essex Institute (Communications)', 2], ['Raffles Bulletin of Zoology', 9], ['Records of the Western Australian Museum', 1], ['Transactions of the Connecticut Academy of Arts and Sciences', 2], ['United States Government Printing Office', 5], ['Zoological Journal of the Linnean Society', 46], ['Zootaxa', 13], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=252)', 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);