npm.nicfv.com

    Module viridis - v1.1.8

    Color gradients for data visualization

    NPM Downloads NPM Last Update

    This list is best viewed on the official documentation, and contains all the builtin color palettes obtained by Palette.Name or Palette['Name'].

    Viridis
    Inferno
    Magma
    Plasma
    Grayscale
    Parula
    Emerald
    Mint
    Sunset
    Dusk
    Chroma
    Spectral
    Cool
    Warm
    Turquoise
    Purplish
    Dirt
    Lime
    Teal
    Bee

    viridis generates color gradients for data visualization, inspired by MatPlotLib colormaps and the Viridis package for R. It exports 3 main classes: Color, Gradient, and Palette. You are able to define your own colors and gradients using the corresponding classes, or use builtin palettes using the values contained in the Palette object. Let's get started with a simple example.

    Documents

    CHANGELOG
    Examples/Builtin Palettes
    Examples/Colors
    Examples/Gradient

    Classes

    Color
    Gradient

    Type Aliases

    PaletteName

    Variables

    Palette
    MMNEPVFCICPMFPCPTTAAATR