CartoDB / turbo-carto

CartoCSS preprocessor
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

For discussion: Ideas for generating category colors that go beyond our max #62

Open makella opened 7 years ago

makella commented 7 years ago

As we all know, there are times when people want to symbolize more than 10 or 11 categories on their maps.

Here are a few ideas for how we might be able to make this happen:

One CARTOColor palette to support a wider range of colors

CartoCSS Spin

Implement existing online tools

Other ideas??

cc @saleiva

makella commented 7 years ago

Or the spin syntax is more inline with current implementation if it was like this:

marker-fill: ramp([attribute],spin(#ff0000,5),category(20));

What would happen here is that the starting color would be #ff0000 and we would generate another color in 5 degree increments around the color wheel for 20 categories.

This could be tricky, for distinguishable colors, but I think it would be really neat to try!

here are a couple of examples with longhand CartoCSS:

ramiroaznar commented 7 years ago

Totally agree. But on the other hand, it is going to be a conflict when generating legends.