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

  1. Establish the units, measurement scope and model assumptions before entering values.
  2. Enter Caller observed value minimum, Caller observed value maximum, Caller class count using the field table and validation rules below, then run the tool.
  3. Read Equal interval class lower bounds, Equal interval class upper bounds; interpret the units, signs, ordering and unknown-value placeholders described below.
  4. 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 fieldMeaningValue typeRequirement
callerObservedValueMinimumCaller observed value minimumnumberRequired; constraints below
callerObservedValueMaximumCaller observed value maximumnumberRequired; constraints below
callerClassCountCaller class countnumberRequired; 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 fieldMeaningValue type
equalIntervalClassLowerBoundsEqual interval class lower boundsarray of number
equalIntervalClassUpperBoundsEqual interval class upper boundsarray of number
json
{
  "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

  1. Sequential Viridis Class Breaks Lookup — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies