function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ameghiniana', 2], ['Biodiversity Data Journal', 1], ['Bulletin of Geosciences', 2], ['Deterville', 1], ['Fossil Imprint', 7], ['GFF', 1], ['Geobios', 7], ['Geologische Rundschau', 1], ['Journal of Natural History', 1], ['Journal of Systematic Palaeontology', 5], ['Palaeontologia Electronica', 2], ['Proceedings of the United States National Museum', 2], ['Records of the Australian Museum', 3], ['Zoosystema', 5], ['Zootaxa', 56], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=102)', 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);