function updatePlotly() {
  // use D3 to select the dropdown menu
  var dropdownMenu = d3.select("#selDataset");
  // assign the value of the dropdown menu option to a variable
  var newSelection = dropdownMenu.property("value");

  buildPlots(newSelection);
  demoInfo(newSelection);
}
// this function is called when a dropdown menu item is selected
this function is called when a dropdown menu item is selected
this function is called when a dropdown menu item is selected
function updatePlotly() {
  var dropdownMenu = d3.select("#selDataset");
  var newSelection = dropdownMenu.property("value");
  buildPlots(newSelection);
  demoInfo(newSelection);
}
function updatePlotly ( ) { var dropdownMenu = d3 . select ( "#selDataset" ) ; var newSelection = dropdownMenu . property ( "value" ) ; buildPlots ( newSelection ) ; demoInfo ( newSelection ) ; }
this function is called when a dropdown menu item is selected
this function is called when a dropdown menu item is selected
// use D3 to select the dropdown menu // assign the value of the dropdown menu option to a variable