Repository navigation
v0.6.0 -- Color: named palettes, Turbo, per-family defaults
Added
- Sequential.Turbo, and a general interpolate-only-scheme fallback in
schemeColors() -- resolves any scheme that ships only as
d3.interpolateX(t) with no discrete d3.schemeX array, sampled at 9
points by default or a caller-specified classes count. - Qualitative.Tableau10 and Qualitative.Observable10, alongside
Qualitative.Category20/20b/20c. - Qualitative.SunArc (#F84/#FC4/#B12), a hand-picked sunrise/noon/sunset
triad. - d3.easygraph.resolvePalette(name, classes) and colorScale(name, domain,
options), standalone palette lookups usable without building a chart. - d3.easygraph.hueWheelPalette(count), evenly-spaced hues as [r,g,b]
triples for canvas point-cloud coloring. - scatter: color.quantize, labels/labelMinZoom, rescale(k), fixed
color.domain. - line/areas: a null y (or min/max) now breaks the path into a gap
instead of drawing a straight segment through it.
Changed
- Every palette name is now Kind.Name (Sequential.Blues, Diverging.RdYlBu,
Qualitative.Set1) instead of source-prefixed (D3_category10,
LS_SustainZones). .reversed replaces _reversed. - Default colorPalette is now Qualitative.Tableau10, replacing
Qualitative.Category10 (removed entirely) -- better separated under
red-green color vision deficiency. - colorbrewerPalettes renamed to colorPalettes.
- Palettes now sourced directly from d3-scale-chromatic's d3.scheme*
exports instead of the standalone colorbrewer package -- drops that
dependency. - heatmap's default colorPalette is now Diverging.RdBu.reversed instead
of the shared Tableau10.
Fixed
- line's zoom pane now sets touch-action: none, so a pinch/drag gesture
starting on it can't be hijacked by iOS's native pinch-to-zoom.