Open makella opened 8 years ago
adding @javisantana because i see some color discussions happening over on deep insights too, so maybe could be useful
Great!
Qualitative Palettes are ready too:
We've added four qualitative palettes to the CartoColor repo. They are named Bold, Fancy, Pastel, and Antique. You can find them here: https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js
Each group has color definitions for 2-11 categories. 11 has 10 colors where the 11th color should be assigned to the "other" category.
Also, for a visual you can see the Wiki: https://github.com/CartoDB/research/wiki/Qualitative-Palettes
Would make sense to have a category
quantification method?
ramp([column_name], cartocolor(Pastel), 5, 'category');
So that would generate a category map using this data:
select column_name, count(1) from datasource group by 1 order by 2 desc limit 5;
Is 'category' the right name or there is already a name for that @makella
This also is important because we are modelling wizards for new editor and I want to use the same naming
IMO, yes
2016-04-26 9:26 GMT+02:00 javi santana notifications@github.com:
Would make sense to have a category quantification method?
ramp([column_name], cartocolor(Pastel), 5, 'category');
So that would generate a category map using this data:
select column_name, count(1) from datasource grount by 1 order by 2 desc limit 5;
Is 'category' the right name or there is already a name for that @makella https://github.com/makella
This also is important because we are modelling wizards for new editor and I want to use the same naming
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/CartoDB/turbo-cartocss/issues/15#issuecomment-214652278
Sergio Alvarez Leiva
I think that would be great too.
In terms of naming, category maps are qualitative thematic maps. So if we want to describe it by map type, we can say qualitative. If we want to use less technical speak, we can say category or categorical. But maybe qualitative is good and then we can use quantitative for the other thematic map type.
Diverging palettes ready!
https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js#L219-L253
hi @rochoa,
I added all of our test palettes to the
cartocolor.js
file in the CartoColor repo. Let me know if this is a good start to get the ramps in TurboCartoCSS for further testing. If there is anything else I can provide you with, just let me know.For each ramp, there are colors for 2, 3, 4, 5, 6, or 7 classes.
This set doesn't include diverging (yet) but that will be next.
thanks! mamata
cc/ @andrewxhill @saleiva