Sequential Viridis Class Breaks Lookup
Generate explicit equal-interval scalar class breaks for caller sequential Viridis application, no color interpolation, quantiles or claim Viridis specifies universal class boundaries. Explicit declared color space/reference and caller applicability; not spectral equivalence, pigment mixing, press readiness or accessibility certification.
Description
Equal-interval classes divide a declared data range into equally wide bins.
Equal-interval classes divide a declared data range into equally wide bins.1
Class boundaries are a data decision separate from selecting or sampling the Viridis palette. Use Sequential Viridis Class Breaks Lookup to evaluate the supplied inputs under the model explained below.
When to use Sequential Viridis Class Breaks Lookup
Use Sequential Viridis Class Breaks Lookup to evaluate the supplied inputs under the model explained below. Establish the units, measurement scope and model assumptions before entering values.
How to use Sequential Viridis Class Breaks Lookup and understand its results
- Establish the units, measurement scope and model assumptions before entering values.
- Enter Caller observed value minimum, Caller observed value maximum, Caller class count using the field table and validation rules below, then run the tool.
- Read Equal interval class lower bounds, Equal interval class upper bounds; interpret the units, signs, ordering and unknown-value placeholders described below.
- Correct reported input errors and rerun. Apply successful results according to their specific meanings and check the assumptions before using them in a decision.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| callerObservedValueMinimum | Caller observed value minimum | number | Required; constraints below |
| callerObservedValueMaximum | Caller observed value maximum | number | Required; constraints below |
| callerClassCount | Caller class count | number | Required; constraints below |
Enter finite minimum and maximum values with maximum>minimum and an integer class count from 1 to 128. Divide the range by the count and return aligned lower and upper arrays for contiguous equal-width intervals. No palette colors or Viridis samples are returned, and membership boundary policy is not selected.
width=(maximum−minimum)/classes; lower[i]=minimum+i×width; upper[i]=minimum+(i+1)×width Use the field order, units and branch conditions described above.
| Output field | Meaning | Value type |
|---|---|---|
| equalIntervalClassLowerBounds | Equal interval class lower bounds | array of number |
| equalIntervalClassUpperBounds | Equal interval class upper bounds | array of number |
{
"input": {
"callerObservedValueMinimum": 0,
"callerObservedValueMaximum": 100,
"callerClassCount": 4
},
"output": {
"equalIntervalClassLowerBounds": [
0,
25,
50,
75
],
"equalIntervalClassUpperBounds": [
25,
50,
75,
100
]
}
} Limitations and assumptions
Class boundaries are a data decision separate from selecting or sampling the Viridis palette. Apply the exact scope and assumptions explained above.
All listed fields require explicit values. Unexpected fields, incorrect types, nonfinite numbers and sparse arrays fail validation. Domain-specific bounds, alignments and supported tokens are explained above; extremely large inputs or outputs can also be rejected. Input errors differ from successful false results, empty match lists and unknown-evidence placeholders.
Alternative or Complementary methods
Use Tailwind Palette Nearest Shade Lookup for a related task: Tailwind shade matching depends on the supplied palette edition and color coordinates.
Use Material Palette Step Classify (50–900) for a related task: Material palette step numbers label positions in an identified design-system edition.
References
-
Sequential Viridis Class Breaks Lookup — tool.io
Similar or alternative tools
- Tailwind Palette Nearest Shade Lookup
Tailwind shade matching depends on the supplied palette edition and color coordinates.
- Material Palette Step Classify (50–900)
Material palette step numbers label positions in an identified design-system edition.