function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 30], ['Biodiversity Data Journal', 1], ['CISRO Publishing', 1], ['Memoirs of the Queensland Museu Nature', 120], ['Natural and Applied Science Bulletin', 1], ['Raffles Bulletin of Zoology', 9], ['Records of the Western Australian Museum', 1], ['Scientific Report Great Barrier Reef Expedition 1928 - 29', 1], ['Transactions of the Connecticut Academy of Arts and Sciences', 2], ['Tropical Oceanography', 1], ['United States Government Printing Office', 1], ['Zoological Journal of the Linnean Society', 42], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=218)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);