This asset provides a collection of D3.js color schemes for charts, dashboards, and UI components. It includes:
Categorical: Distinct colors for discrete categories (e.g., schemeCategory10, schemeSet1).
schemeCategory10
schemeSet1
Sequential (Single-Hue & Multi-Hue): Gradients representing numeric ranges (e.g., Blues, Viridis, Inferno).
Blues
Viridis
Inferno
Diverging: Colors diverging from a central value to highlight extremes (e.g., RdBu, Spectral).
RdBu
Spectral
Cyclical: Smooth transitions for circular or periodic data (e.g., Rainbow, Sinebow).
Rainbow
Sinebow
Each palette is available as an array of colors (hex or rgb) for easy integration with D3.js or CSS in OutSystems. They are suitable for numeric, categorical, or periodic data visualizations.
hex
rgb
Two Blocks are included: one to display the D3 color palettes and another to show their visual representation. When a palette is clicked, its color codes are copied and passed as input to the Test_Palette block, which renders a visual representation of the selected palette.