Working on 4w 3

This commit is contained in:
Brady
2019-09-30 22:29:42 -06:00
parent 21d4f28699
commit f2be979bd6
12 changed files with 413 additions and 8 deletions

View File

@@ -46,5 +46,11 @@ 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')
.node().value;
//.property("value");
let selectedData = [];
this.allData.forEach(x => selectedData.push(x[currentDataType]));
return selectedData;
}