D3.js band.range() Function
The band.range() function in D3.js library is used to set the range of the scale to the specified two-element array of numbers. The default value of the range is [0, 1]. Syntax: band.range([range]); Parameters: This function accepts single parameters as given above and described below. range: This p