D3.js | d3.continuous.invert() Function
The d3.continuous.invert() function in D3.js is used to return the corresponding value from the domain if a value from the range is given.
.invert( Value )
Parameters: This function accepts single parameter Value which holds the value of range.
Return Value: This function returns the corresponding value from the domain if a value from the range is given.
Below programs illustrate the d3.continuous.invert() function in D3.js:
0.1 0.3 0.5 0.9