diff --git a/js/donut-chart.js b/js/donut-chart.js index bd29eaf..77056b5 100644 --- a/js/donut-chart.js +++ b/js/donut-chart.js @@ -64,7 +64,7 @@ function update_donut_chart_title(chart_id, dropdown) { var new_title; if (dropdown == 'data_type') { - new_title = 'Subjects by Assay and Anatomy across Programs'; + new_title = 'Subjects by Assay and Anatomy'; } else if (dropdown == 'dcc') { new_title = 'Samples by Anatomy and CF Program'; } diff --git a/js/stacked-bar-graph.js b/js/stacked-bar-graph.js index e48eb2f..37812e7 100644 --- a/js/stacked-bar-graph.js +++ b/js/stacked-bar-graph.js @@ -109,8 +109,7 @@ function update_chart_title(chart_id) { const heading = d3.select('#' + chart_id + '-title'); var y_axis = d3.select('#' + chart_id + '-y-axis option:checked').text(); var x_axis = d3.select('#' + chart_id + '-x-axis option:checked').text(); - var group_by = d3.select('#' + chart_id + '-group-by option:checked').text(); - var new_title = y_axis + ' by ' + x_axis + ' and ' + group_by; + var new_title = y_axis + ' by ' + x_axis; heading.text(new_title); } } diff --git a/udashboard.html b/udashboard.html index 70959a1..e6e6938 100644 --- a/udashboard.html +++ b/udashboard.html @@ -52,17 +52,17 @@