The point.domain() function is used to set the domain of the point scale to a specified array of values. The first element in the array is mapped to the first point in the range, the second value in the domain to the second point, and so on.
Parameters: This function accepts single parameters as given above and described below:
domain: This parameter sets the domain of the point scale i.e the minimum and the maximum value.
Return Values: This function does not return anything.
Below given are a few examples of the function given above.
Please Login to comment...