CartoColor icon indicating copy to clipboard operation
CartoColor copied to clipboard

Question about adding "Detect Clusters and Outliers" ramp

Open makella opened this issue 9 years ago • 4 comments

@javisantana @saleiva @rochoa

I'm working with my team to go through the exercise of documenting the analysis methods with map examples. This is work towards default cartography for Builder analysis outputs.

This morning I worked on the cluster and outlier cartography which outputs a field quad with four values: HH, HL, LH, LL. This is a different kind of category ramp because there will always only be four colors.

We decided that we should stick to "analysis cartography traditions" with this map. A result of the analysis would look like this: https://team.carto.com/u/mamataakella/builder/1800a493-75ed-4511-bf21-3e588b978e23/embed

So my question is:

Is there a special way I need to add this? It will always use four colors. I'm not sure what the proper syntax would be for this kind of color ramp.

Can you tell me?

thanks!

makella avatar Sep 15 '16 15:09 makella

I guess you are planning to add new ramp called "Moran" or whatever where there is only 4 colors?

javisantana avatar Sep 19 '16 08:09 javisantana

Yep

makella avatar Sep 19 '16 13:09 makella

sounds good, we should be careful with that because I think the builder is expecting all of them to have the same number of ramps but it's something we could workaround for sure

javisantana avatar Sep 21 '16 06:09 javisantana

or is it better to just have default cartocss for the moran's i map? i think it could use more discussion because i was also thinking a value-by-alpha default would be a nice solution where the alpha channel represents significance.

test: https://team.carto.com/u/mamataakella/builder/5023b856-3e5d-4d71-b0a5-80960575e90e/embed

makella avatar Sep 21 '16 14:09 makella