### What problem does this feature solve? <img width="1000" height="729" alt="Image" src="https://github.com/user-attachments/assets/29d206ee-3f49-4699-ab67-b09892f7d7e9" /> 参考文档: https://observablehq.com/@d3/quantile-quantize-and-threshold-scales ### What does the proposed API look like? ``` { type: 'threshold', domain: [0], range: ['red', 'green'] } ```
What problem does this feature solve?
参考文档:
https://observablehq.com/@d3/quantile-quantize-and-threshold-scales
What does the proposed API look like?