function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ameghiniana', 1], ['Biodiversity Data Journal', 1], ['Bulletin of Geosciences', 2], ['Deterville', 1], ['Fossil Imprint', 7], ['Geologische Rundschau', 1], ['Journal of Natural History', 1], ['Journal of Systematic Palaeontology', 2], ['Ministerstvo Geologii RSFSR Severo-Zapadnoe Territorialnoe', 1], ['Palaeontologia Electronica', 1], ['Proceedings of the United States National Museum', 2], ['The American Journal of Science, Series 3', 1], ['Transactions of the geological society of London, 2', 1], ['Zoosystema', 5], ['Zootaxa', 27], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=55)', 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);