This commit is contained in:
2019-10-02 08:30:45 -06:00
parent a4d4fbe605
commit 8c213db798
5 changed files with 468 additions and 184 deletions

View File

@@ -46,11 +46,7 @@ function chooseData() {
// ******* TODO: PART I *******
// Changed the selected data when a user selects a different
// menu item from the drop down.
let currentDataType = d3.select('#dataset')
let tmp = d3.select('#dataset')
.node().value;
//.property("value");
let selectedData = [];
this.allData.forEach(x => selectedData.push(x[currentDataType]));
return selectedData;
barChart.updateBarChart(tmp);
}