Viewing a saved revision (read-only)
d39d225fa9f24cc596271c397f3d92ce
Automatic Color Schemes
This visualization demonstrates how color schemes can be automatically generated from configurable parameters for hue, saturation, and luminance. Nine distinct schemes are displayed, each containing seven colors that transition from dark to light via cubic interpolation in Cubehelix color space using D3’s `interpolateCubehelix`. The rendered output shows both circles and rectangles filled with the generated colors, with the `d3.cubehelix` function constructing endpoint colors based on the specified hue, saturation, and luminance bounds. The code selects numeric parameters from a CSV file, specifying the active scheme index.
AI-generated descriptionAn example of self-modifying code using VizHub's writeFile
API.