Playing with Scales in D3
First scale, mapping values to new values:
Linear Color scale:
Ordinal color scale:
Apple
Orange
Pineapple
Cherry
Kumquat
China
Russia
Japan
India
France
Syria
Madagascar
SUV
This is another ordinal scale, with data mapped to specific values: