News for hackers. Stuff that matters.
Re:Legends in D3 by yaph on Friday July 17, 2015 @06:13AM (#9902005)
> people, please don't use discrete color scales for continuous parameters

There are arguments against using continuous scales:

* By using classes (e. g. quantiles) you can reduce the impact of outliers. On a continuous scale an outlier can cause everything else to be perceived as one color.

* Perception of color intensity is not strictly linear.

For some more details, check out this answer on StackExchange http://gis.stackexchange.com/a/86679/24164

Re:Legends in D3 by stared on Friday July 17, 2015 @07:52AM (#9902273)
Well, because of that appropriate variable scaling is important. (Typically log or sqrt, but if one wishes - one my use continuous percentile scale.)