Skip to main content
100%

Custom color scale

✓ Published0🌍 Public
PPedro Ernesto Tramontina
Last edited May 4, 2020
Created on Apr 30, 2020
Forked from Blank

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.

AI-generated description
MIT Licensed

Similar vizzes