function init(){

  d3.json('samples.json').then(function(data) {

    // iterate through each sample id in the name array and insert it into the dropdown
    data.names.forEach((name) => {
      d3.select("#selDataset")
      .append("option")
      .text(name)
      .property("value");
    });

    buildPlots(data.names[0]);
    demoInfo(data.names[0]);
  });
}
// intialize the app to pull from the first name in the dropdown list
intialize the app to pull from the first name in the dropdown list
intialize the app to pull from the first name in the dropdown list
function init(){
  d3.json('samples.json').then(function(data) {
    data.names.forEach((name) => {
      d3.select("#selDataset")
      .append("option")
      .text(name)
      .property("value");
    });
    buildPlots(data.names[0]);
    demoInfo(data.names[0]);
  });
}
function init ( ) { d3 . json ( 'samples.json' ) . then ( function ( data ) { data . names . forEach ( ( name ) => { d3 . select ( "#selDataset" ) . append ( "option" ) . text ( name ) . property ( "value" ) ; } ) ; buildPlots ( data . names [ 0 ] ) ; demoInfo ( data . names [ 0 ] ) ; } ) ; }
intialize the app to pull from the first name in the dropdown list
intialize the app to pull from the first name in the dropdown list
// iterate through each sample id in the name array and insert it into the dropdown