js/app.js
/**
 * adds the names to the list of options in the html
 * @param {array list of all the possible names} names 
 */
adds the names to the list of options in the html
@param {array list of all the possible names} names
adds the names to the list of options in the html @param { array list of all the possible names } names
function addSelectionOptions(names) {
	var body = d3.select("#selDataset");
	body.selectAll("option")
		.data(names)
		.enter()
		.append("option")
		.attr("value", data => data)
		.text(data => data);
	optionChanged();
}
function addSelectionOptions ( names ) { var body = d3 . select ( "#selDataset" ) ; body . selectAll ( "option" ) . data ( names ) . enter ( ) . append ( "option" ) . attr ( "value" , data => data ) . text ( data => data ) ; optionChanged ( ) ; }
adds the names to the list of options in the html
 @param {array list of all the possible names} names
adds the names to the list of options in the html @param { array list of all the possible names } names
// select the body where we will append the options
 //<option value="NAME">NAME</option>
 // add the names data
 // submit the data
 // append any new options per the data
 // add an attribute called value with the names element as it's value
 // add the element's value as the raw text
 // fire the options changed so the first selected is the one loaded 
