4 ms·
Digital mapmakers often have a hard time getting color scales right; it's common to just sort of wing it and end up with something that looks like crap and/or d
by alexwebb2 3y ago
Digital mapmakers often have a hard time getting color scales right; it's common to just sort of wing it and end up with something that looks like crap and/or doesn't work well with the nature of the dataset.
I'd recommend using one of the tried and tested scales from ColorBrewer (https://colorbrewer2.org https://colorbrewer2.org). Great info there to help you decide.
And when you do pick a scale, Chroma.js (https://www.vis4.net/chromajs https://www.vis4.net/chromajs) is a fantastic color library that has built-in support for ColorBrewer scales.
Also http://turfjs.org http://turfjs.org has some great tools for manipulating GeoJSON.