i dont think we need this if check, can just return whatever the d3Scale returns, since it returns 0 if type != bands