{"version":"1.0","type":"rich","title":"Custom color scale","description":"A sequence of 100 rectangles demonstrates a custom color scale, transitioning from green to grey. The scale is created with `scaleLinear` and uses `interpolateHcl` for color interpolation, mapping the domain from 1 to 20. Each rectangle is positioned horizontally and filled with a color from this scale, providing a visual representation of the HCL color space's smooth gradient. The visualization is rendered as SVG elements using D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a5adf0b8e7ab432fb2f05c81d99f7d37?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}