Archive for tag: hsl

d3: scales, and color.

11 August, 2011 (12:03) | d3, protovis, tips | By: jerome

In protovis, scales were super-useful in just about everything. That much hasn’t changed in d3, even though d3.scale is a bit different from pv.Scale. (do note that d3.scale is in lowercase for starters). Scales: the main idea Simply put: scales transform a number in a certain interval (called the domain) into a number in another […]