This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
We were not able to find the expected elm-package.json file at this tag.
Tag 1.0.2
Committed At 2018-08-30 06:14:34 UTC

Modules

    README

    Elm Polylinear Scale

    Create a polylinear scales and map values.

    As explained here https://github.com/d3/d3-scale/blob/master/README.md#continuous_domain

    Example polylinear scale:

    [(0, 0), (100, 50), (300, 100)]
    

    This is a scale that maps one domain to a different one. The first value in the tuple is domain A and the second domain B.

    For example given value 100 in domain A you want to know the equivalent in domain B which would be 50.

    scale = polylinearScale [(0, 0), (100, 50), (300, 100)]
    
    scale 100 == 50
    scale 150 == 62.5