assets/js/app.js
// function used for updating y_axis var upon click on axis label
function used for updating y_axis var upon click on axis label
function used for updating y_axis var upon click on axis label
function render_yaxis(newy_scale, y_axis) {
  var leftAxis = d3.axisLeft(newy_scale);
  y_axis.transition()
    .duration(1000)
    .call(leftAxis);
  return y_axis;
}
function render_yaxis ( newy_scale , y_axis ) { var leftAxis = d3 . axisLeft ( newy_scale ) ; y_axis . transition ( ) . duration ( 1000 ) . call ( leftAxis ) ; return y_axis ; }
function used for updating y_axis var upon click on axis label
function used for updating y_axis var upon click on axis label