D3.js threshold.copy() Function
The threshold.copy() function in d3.js is used to create and return the exact copy of the threshold scale. Any change in the original scale will not affect the copy scale. Syntax: threshold.copy(); Parameters: This function does not accept any parameter. Return Value: This function returns an exact