tangram icon indicating copy to clipboard operation
tangram copied to clipboard

proposal -- add colorbrewer palettes as a color option for points, polygons and lines

Open burritojustice opened this issue 9 years ago • 1 comments
trafficstars

add colorbrewer schemes to color:

layers:
    counties:
        polygon:
            color: OrRd[2]    

https://github.com/axismaps/colorbrewer/

hex is here, for reference:

https://github.com/google/palette.js/blob/master/palette.js#L931

burritojustice avatar Sep 23 '16 00:09 burritojustice

This is interesting. We would probably first prototype it via import-able building blocks and/or in Tangram Play before deciding if it made sense to include in the core. There have also been requests to be able to use D3's existing modules for palette/scale generation, so some general thought about the best way to enable this type of thing is in order.

bcamper avatar Sep 23 '16 13:09 bcamper